MESSENGER-4173 fix invites mismatched number

This commit is contained in:
JanNiklas Grabowski
2023-03-02 11:08:23 +01:00
parent e5ba82b699
commit 1c0ec7f21c
@@ -1177,8 +1177,9 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
{
RecentsInvitesTableViewCell *tableViewCell = [tableView dequeueReusableCellWithIdentifier:[RecentsInvitesTableViewCell defaultReuseIdentifier]];
tableViewCell.invitesCount = self.recentsListService.invitedRoomListData.counts.total.numberOfRooms;
// bwi: fixes mismatched number of invites
tableViewCell.invitesCount = self.invitesCellDataArray.count;
return tableViewCell;
}