mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-05 23:47:44 +02:00
Merge branch 'develop' into gil/4570_home_space_data_filtering
This commit is contained in:
@@ -417,7 +417,7 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
|
||||
// Update here the index of the current selected cell (if any) - Useful in landscape mode with split view controller.
|
||||
NSIndexPath *currentSelectedCellIndexPath = nil;
|
||||
MasterTabBarController *masterTabBarController = [AppDelegate theDelegate].masterTabBarController;
|
||||
if (masterTabBarController.currentRoomViewController)
|
||||
if (masterTabBarController.selectedRoomId)
|
||||
{
|
||||
// Look for the rank of this selected room in displayed recents
|
||||
currentSelectedCellIndexPath = [self.dataSource cellIndexPathWithRoomId:masterTabBarController.selectedRoomId andMatrixSession:masterTabBarController.selectedRoomSession];
|
||||
|
||||
@@ -126,11 +126,17 @@
|
||||
|
||||
if (roomCellData.spaceChildInfo)
|
||||
{
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.spaceChildInfo.avatarUrl displayName:roomCellData.spaceChildInfo.displayName mediaManager:roomCellData.recentsDataSource.mxSession.mediaManager];
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.spaceChildInfo.avatarUrl
|
||||
roomId:roomCellData.spaceChildInfo.childRoomId
|
||||
displayName:roomCellData.spaceChildInfo.displayName
|
||||
mediaManager:roomCellData.recentsDataSource.mxSession.mediaManager];
|
||||
}
|
||||
else
|
||||
{
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.roomSummary.avatar displayName:roomCellData.roomSummary.displayname mediaManager:roomCellData.roomSummary.mxSession.mediaManager];
|
||||
[self.roomAvatar vc_setRoomAvatarImageWith:roomCellData.roomSummary.avatar
|
||||
roomId:roomCellData.roomSummary.roomId
|
||||
displayName:roomCellData.roomSummary.displayname
|
||||
mediaManager:roomCellData.roomSummary.mxSession.mediaManager];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user