New async [MXRoom state:]: Make Riot build

This commit is contained in:
manuroe
2018-07-20 10:34:54 +02:00
parent 8252dc4fb4
commit 08c293be54
7 changed files with 91 additions and 85 deletions

View File

@@ -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