emit focus_composer after updating the active room in GroupGridView
also change the active room from there so RoomView is oblivious to grid view stuff
This commit is contained in:
parent
fbfbefe4fe
commit
9a24249fb5
3 changed files with 31 additions and 6 deletions
|
@ -60,6 +60,12 @@ class OpenRoomsStore extends Store {
|
|||
}
|
||||
}
|
||||
|
||||
getRoomStoreAt(index) {
|
||||
if (index >= 0 && index < this._state.rooms.length) {
|
||||
return this._state.rooms[index].store;
|
||||
}
|
||||
}
|
||||
|
||||
_getActiveOpenRoom() {
|
||||
const index = this._state.currentIndex;
|
||||
if (index !== null && index < this._state.rooms.length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue