mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
fix user popup sometimes crashing
This commit is contained in:
parent
d1dfa9c8cf
commit
db2b357f47
@ -32,7 +32,7 @@ extension PresenceExtension on Presence {
|
||||
if (presence.statusMsg?.isNotEmpty ?? false) {
|
||||
return presence.statusMsg;
|
||||
}
|
||||
if (presence.currentlyActive) {
|
||||
if (presence.currentlyActive ?? false) {
|
||||
return L10n.of(context).currentlyActive;
|
||||
}
|
||||
return presence.presence.getLocalized(context);
|
||||
|
Loading…
Reference in New Issue
Block a user