Add ability to search room messages

Signed-off-by: Ajay Bura <[email protected]>
This commit is contained in:
Ajay Bura committed 2022-01-16 14:17:50 +05:30
1 parent eddba3c652
commit dcef08009d
6 files changed
+289 -22

No files matched your search

-2
View File
@@ -73,8 +73,6 @@ class Navigation extends EventEmitter {
this.emit(cons.events.navigation.SPACE_SELECTED, this.selectedSpaceId);
},
[cons.actions.navigation.SELECT_ROOM]: () => {
if (this.selectedRoomId === action.roomId) return;
const prevSelectedRoomId = this.selectedRoomId;
this.selectedRoomId = action.roomId;
this.removeRecentRoom(prevSelectedRoomId);