Add hotkey ctrl+k for search
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { secret } from './state/auth';
|
||||
import RoomList from './state/RoomList';
|
||||
import RoomsInput from './state/RoomsInput';
|
||||
import Notifications from './state/Notifications';
|
||||
import { initHotkeys } from './event/hotkeys';
|
||||
|
||||
global.Olm = require('@matrix-org/olm');
|
||||
|
||||
@@ -62,6 +63,7 @@ class InitMatrix extends EventEmitter {
|
||||
this.roomList = new RoomList(this.matrixClient);
|
||||
this.roomsInput = new RoomsInput(this.matrixClient);
|
||||
this.notifications = new Notifications(this.roomList);
|
||||
initHotkeys();
|
||||
this.emit('init_loading_finished');
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user