MELS: membership events are collapsable. Collapse them by default

This commit is contained in:
manuroe
2017-07-06 18:21:24 +02:00
parent ea04970c8c
commit b200493333
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -130,6 +130,12 @@
// Finalize cell view customization here
if ([cell isKindOfClass:MXKRoomBubbleTableViewCell.class])
{
// Nothing to do for collapsed cells
if (roomBubbleCellData.collapsed)
{
return cell;
}
MXKRoomBubbleTableViewCell *bubbleCell = (MXKRoomBubbleTableViewCell*)cell;
RoomBubbleCellData *cellData = (RoomBubbleCellData*)bubbleCell.bubbleData;
NSArray *bubbleComponents = cellData.bubbleComponents;