Merge branch 'soru/fix-user-popup' into 'main'

fix user popup sometimes crashing

See merge request ChristianPauly/fluffychat-flutter!249
This commit is contained in:
Christian Pauly 2020-10-28 14:15:34 +00:00
commit 9440dde1b3

View file

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