This commit is contained in:
Bleak Grey 2021-07-23 21:02:48 +03:00
parent c52d8b5089
commit 45e6de7342
1 changed files with 5 additions and 1 deletions

View File

@ -19,7 +19,11 @@ public class Tootle.InstanceAccount : API.Account, Streamable {
}
public bool is_active {
get { return accounts.active.access_token == access_token; }
get {
if (accounts.active == null)
return false;
return accounts.active.access_token == access_token;
}
}
public HashMap<Type,Type> type_overrides = new HashMap<Type,Type> ();