mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +02:00
Merge branch 'develop' into ismail/4384_room_summary_store
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
[session setStore:[ShareExtensionManager sharedManager].fileStore success:^{
|
||||
MXStrongifyAndReturnIfNil(session);
|
||||
|
||||
MXRoom *selectedRoom = [MXRoom loadRoomFromStore:[ShareExtensionManager sharedManager].fileStore withRoomId:recentCellData.roomSummary.roomId matrixSession:session];
|
||||
MXRoom *selectedRoom = [MXRoom loadRoomFromStore:[ShareExtensionManager sharedManager].fileStore withRoomId:recentCellData.roomIdentifier matrixSession:session];
|
||||
|
||||
// Do not warn for unknown devices. We have cross-signing now
|
||||
session.crypto.warnOnUnknowDevices = NO;
|
||||
|
||||
@@ -70,10 +70,11 @@
|
||||
roomCellData = (id<MXKRecentCellDataStoring>)cellData;
|
||||
if (roomCellData)
|
||||
{
|
||||
MXRoomSummary *roomSummary = [roomCellData.mxSession roomSummaryWithRoomId:roomCellData.roomSummary.roomId];
|
||||
[roomSummary setRoomAvatarImageIn:self.avatarImageView];
|
||||
[self.avatarImageView vc_setRoomAvatarImageWith:roomCellData.avatarUrl
|
||||
displayName:roomCellData.roomDisplayname
|
||||
mediaManager:roomCellData.mxSession.mediaManager];
|
||||
|
||||
self.roomTitleLabel.text = roomCellData.roomSummary.displayname;
|
||||
self.roomTitleLabel.text = roomCellData.roomDisplayname;
|
||||
if (!self.roomTitleLabel.text.length)
|
||||
{
|
||||
self.roomTitleLabel.text = [NSBundle mxk_localizedStringForKey:@"room_displayname_empty_room"];
|
||||
|
||||
Reference in New Issue
Block a user