[Regression] Search stopped working on Android after LastMessage refactor (#851)
This commit is contained in:
parent
ee99001010
commit
2f25b10681
|
@ -402,7 +402,7 @@ export default class RoomsListView extends LoggedView {
|
|||
unread={item.unread}
|
||||
userMentions={item.userMentions}
|
||||
favorite={item.f}
|
||||
lastMessage={JSON.parse(JSON.stringify(item.lastMessage))}
|
||||
lastMessage={item.lastMessage ? JSON.parse(JSON.stringify(item.lastMessage)) : null}
|
||||
name={this.getRoomTitle(item)}
|
||||
_updatedAt={item.roomUpdatedAt}
|
||||
key={item._id}
|
||||
|
|
Loading…
Reference in New Issue