Fix crash when navigating to file search result

This commit is contained in:
ismailgulek
2020-10-15 14:17:37 +03:00
parent 9b1c5cde9b
commit 0c8cbff50a
@@ -188,7 +188,9 @@
[tableView deselectRowAtIndexPath:indexPath animated:YES];
// Make the master tabBar view controller open the RoomViewController
[[AppDelegate theDelegate].masterTabBarController performSegueWithIdentifier:@"showRoomDetails" sender:self];
[[AppDelegate theDelegate].masterTabBarController selectRoomWithId:cellData.roomId
andEventId:_selectedEvent.eventId
inMatrixSession:self.mainSession];
// Reset the selected event. HomeViewController got it when here
_selectedEvent = nil;