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:
@@ -194,7 +194,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
if (direction == MXTimelineDirectionForwards)
|
||||
{
|
||||
[self updateRoomState:mxRoom.state];
|
||||
[self updateRoomState:roomState];
|
||||
}
|
||||
}];
|
||||
}
|
||||
@@ -2002,7 +2002,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
{
|
||||
count++;
|
||||
|
||||
if (mxRoom.state.isEncrypted)
|
||||
if (mxRoom.summary.isEncrypted)
|
||||
{
|
||||
count++;
|
||||
}
|
||||
@@ -2670,7 +2670,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
|
||||
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
}
|
||||
else if (mxRoom.state.isEncrypted)
|
||||
else if (mxRoom.summary.isEncrypted)
|
||||
{
|
||||
if (indexPath.row == 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user