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 3a7610a714
commit 1e9d544bf5
+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