File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ import ToastStore from "matrix-react-sdk/src/stores/ToastStore";
52
52
import GenericExpiringToast from "matrix-react-sdk/src/components/views/toasts/GenericExpiringToast" ;
53
53
import SettingsStore from 'matrix-react-sdk/src/settings/SettingsStore' ;
54
54
import { IMatrixProfile , IEventWithRoomId as IMatrixEvent , IResultRoomEvents } from "matrix-js-sdk/src/@types/search" ;
55
+ import { logger } from "matrix-js-sdk/src/logger" ;
56
+ import { MatrixEvent } from "matrix-js-sdk/src/models/event" ;
55
57
56
58
import VectorBasePlatform from './VectorBasePlatform' ;
57
59
58
- import { logger } from "matrix-js-sdk/src/logger" ;
59
-
60
60
const electron = window . electron ;
61
61
const isMac = navigator . platform . toUpperCase ( ) . includes ( 'MAC' ) ;
62
62
@@ -399,7 +399,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
399
399
return notification ;
400
400
}
401
401
402
- loudNotification ( ev : Event , room : Object ) {
402
+ loudNotification ( ev : MatrixEvent , room : Room ) {
403
403
electron . send ( 'loudNotification' ) ;
404
404
}
405
405
You can’t perform that action at this time.
0 commit comments