mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Make use of MXRoom.roomId and MXRoom.summary instead of MXRooms.state
This commit is contained in:
@@ -33,7 +33,7 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
|
||||
{
|
||||
// Patch: Display the verified icon by default on pending outgoing messages in the encrypted rooms when the encryption is enabled
|
||||
MXRoom *room = [session roomWithRoomId:event.roomId];
|
||||
if (room.state.isEncrypted && session.crypto)
|
||||
if (room.summary.isEncrypted && session.crypto)
|
||||
{
|
||||
// The outgoing message are encrypted by default
|
||||
encryptionIcon = @"e2e_verified";
|
||||
|
||||
Reference in New Issue
Block a user