mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-20 06:32:08 +02:00
Merge pull request #7342 from vector-im/nimau/6597_hide_presence_if_unknown
Hide the presence info if the presence status is unknown
This commit is contained in:
+5
-1
@@ -36,7 +36,11 @@
|
||||
presenceText = [VectorL10n roomParticipantsIdle];
|
||||
break;
|
||||
|
||||
case MXPresenceUnknown: // Do like matrix-js-sdk
|
||||
case MXPresenceUnknown:
|
||||
// Fix https://github.com/vector-im/element-ios/issues/6597
|
||||
// Return nil because we don't want to display anything if the status is unknown
|
||||
return nil;
|
||||
|
||||
case MXPresenceOffline:
|
||||
presenceText = [VectorL10n roomParticipantsOffline];
|
||||
break;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Hide the presence info if the presence status is unknown.
|
||||
Reference in New Issue
Block a user