MELS: Implement onCollapseButtonTap with matrix-kitty way

This commit is contained in:
manuroe
2017-07-07 11:53:49 +02:00
parent 13e854d17d
commit 06d3cf2323
3 changed files with 15 additions and 2 deletions
+4
View File
@@ -1750,6 +1750,10 @@
MXKReceiptSendersContainer *container = userInfo[kMXKRoomBubbleCellReceiptsContainerKey];
[ReadReceiptsViewController openInViewController:self fromContainer:container withSession:self.mainSession];
}
else if ([actionIdentifier isEqualToString:kRoomMembershipExpandedBubbleCellTapOnCollapseButton])
{
[self.roomDataSource collapseRoomBubble:((MXKRoomBubbleTableViewCell*)cell).bubbleData collapsed:YES];
}
else
{
// Keep default implementation for other actions