Change method parameter

This commit is contained in:
ismailgulek
2021-09-22 11:43:07 +03:00
parent c7b40f408b
commit 83130b9772
2 changed files with 4 additions and 3 deletions
@@ -1452,7 +1452,7 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
[self showSpaceInviteNotAvailable];
}
// Check if can show preview for the invited room
else if ([self canShowRoomPreviewFor:invitedRoom])
else if ([self canShowRoomPreviewFor:cellData.roomSummary])
{
// Display the room preview
[self dispayRoomWithRoomId:invitedRoom.roomId inMatrixSession:invitedRoom.mxSession];