Search result display: Fixed stupid room blank screen bug

This commit is contained in:
manuroe
2016-03-04 17:14:50 +01:00
parent 5a1c4c6377
commit b1ddad13c3
+1 -1
View File
@@ -416,7 +416,7 @@
// Live timeline or timeline from a search result?
MXKRoomDataSource *roomDataSource;
if (searchViewController.selectedEvent)
if (!searchViewController.selectedEvent)
{
// LIVE: Show the room live timeline managed by MXKRoomDataSourceManager
MXKRoomDataSourceManager *roomDataSourceManager = [MXKRoomDataSourceManager sharedManagerForMatrixSession:_selectedRoomSession];