MELS: Reset the event selection before collapsing

This fixes a crash
This commit is contained in:
manuroe
2017-07-17 16:15:49 +02:00
parent b6c5ae4f71
commit fa318a6e2e
+3
View File
@@ -1759,6 +1759,9 @@
}
else if ([actionIdentifier isEqualToString:kRoomMembershipExpandedBubbleCellTapOnCollapseButton])
{
// Reset the selection before collapsing
customizedRoomDataSource.selectedEventId = nil;
[self.roomDataSource collapseRoomBubble:((MXKRoomBubbleTableViewCell*)cell).bubbleData collapsed:YES];
}
else