[backend/federation] Fix ASObject.IsUnresolved regression

This commit is contained in:
Laura Hausmann 2024-10-24 19:02:22 +02:00
parent af2f5a5ef9
commit 4dc021fcc4
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -14,7 +14,7 @@ public class ASObject : ASObjectBase
[JC(typeof(StringListSingleConverter))]
public string? Type { get; set; }
[JI] public bool IsUnresolved => GetType() == typeof(ASObject) && Type == null;
[JI] public bool IsUnresolved => Type == null;
//FIXME: don't recurse creates and co
public static ASObject? Deserialize(JToken token)