1
0
mirror of https://gitlab.gnome.org/World/tootle synced 2025-02-08 07:38:39 +01:00
This commit is contained in:
Bleak Grey 2021-07-23 21:02:48 +03:00
parent c52d8b5089
commit 45e6de7342

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> ();