Adapt sentStatus changes

This commit is contained in:
ismailgulek
2021-09-22 11:41:22 +03:00
parent e6804935f1
commit c7b40f408b
5 changed files with 12 additions and 46 deletions
@@ -88,7 +88,8 @@
self.lastEventDescription.text = roomCellData.lastEventTextMessage;
}
self.unsentImageView.hidden = roomCellData.roomSummary.room.sentStatus == RoomSentStatusOk;
MXRoom *room = [roomCellData.mxSession roomWithRoomId:roomCellData.roomSummary.roomId];
self.unsentImageView.hidden = roomCellData.roomSummary.sentStatus == MXRoomSummarySentStatusOk;
self.lastEventDecriptionLabelTrailingConstraint.constant = self.unsentImageView.hidden ? 10 : 30;
// Notify unreads and bing
@@ -124,7 +125,7 @@
self.roomTitle.font = [UIFont systemFontOfSize:17 weight:UIFontWeightMedium];
}
[roomCellData.roomSummary setRoomAvatarImageIn:self.roomAvatar];
[room.summary setRoomAvatarImageIn:self.roomAvatar];
}
else
{