New async [MXRoom state:]: Make Riot build

This commit is contained in:
manuroe
2018-07-20 10:34:54 +02:00
parent d3ca4a8e22
commit d1e296913e
7 changed files with 91 additions and 85 deletions
@@ -64,7 +64,7 @@
// The search result contains only room message events, no state events.
// Thus, passing the current room state is not a huge problem. Only
// the user display name and his avatar may be wrong.
RoomBubbleCellData *cellData = [[RoomBubbleCellData alloc] initWithEvent:result.result andRoomState:roomDataSource.room.state andRoomDataSource:roomDataSource];
RoomBubbleCellData *cellData = [[RoomBubbleCellData alloc] initWithEvent:result.result andRoomState:roomDataSource.roomState andRoomDataSource:roomDataSource];
if (cellData)
{
// Highlight the search pattern