mirror of
https://gitlab.gnome.org/World/tootle
synced 2025-02-08 07:38:39 +01:00
Fix #312
This commit is contained in:
parent
c52d8b5089
commit
45e6de7342
@ -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> ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user