RoomVC: Use the condition on bubbleData.hasNoDisplay to display RoomEmptyBubbleCell

This commit is contained in:
manuroe
2017-07-06 17:55:13 +02:00
parent a45f4ac132
commit 5efacd090d
+1 -1
View File
@@ -1543,7 +1543,7 @@
id<MXKRoomBubbleCellDataStoring> bubbleData = (id<MXKRoomBubbleCellDataStoring>)cellData;
// Select the suitable table view cell class, by considering first the empty bubble cell.
if (!bubbleData.attributedTextMessage)
if (bubbleData.hasNoDisplay)
{
cellViewClass = RoomEmptyBubbleCell.class;
}