forked from mystiq/hydrogen-web
don't read private parts
This commit is contained in:
parent
cdd1efe477
commit
2cbe349a4d
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export class RoomGridViewModel extends ViewModel {
|
|||
* @package
|
||||
*/
|
||||
tryFocusRoom(roomId) {
|
||||
const index = this._viewModels.findIndex(vms => vms?.vm._room.id === roomId);
|
||||
const index = this._viewModels.findIndex(vms => vms?.vm.id === roomId);
|
||||
if (index >= 0) {
|
||||
this.setFocusIndex(index);
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue