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 8bf0efeb61
commit b1c8b40fbd
+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