Adapt to cell data changes

This commit is contained in:
ismailgulek
2021-09-22 11:46:12 +03:00
parent 0903e38e44
commit b9b7b4e1da
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)