Adapt to cell data changes

This commit is contained in:
ismailgulek
2021-09-22 11:46:12 +03:00
parent 83130b9772
commit 83e5c7ad6e
6 changed files with 13 additions and 17 deletions
@@ -70,7 +70,8 @@
roomCellData = (id<MXKRecentCellDataStoring>)cellData;
if (roomCellData)
{
[roomCellData.roomSummary setRoomAvatarImageIn:self.avatarImageView];
MXRoomSummary *roomSummary = [roomCellData.mxSession roomSummaryWithRoomId:roomCellData.roomSummary.roomId];
[roomSummary setRoomAvatarImageIn:self.avatarImageView];
self.roomTitleLabel.text = roomCellData.roomSummary.displayname;
if (!self.roomTitleLabel.text.length)