Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-07-21 17:56:50 +01:00
parent 95854a2f67
commit 6f34c36537
2 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ declare global {
mxRebrandListener: RebrandListener; mxRebrandListener: RebrandListener;
mxRoomListStore: RoomListStoreClass; mxRoomListStore: RoomListStoreClass;
mxRoomListLayoutStore: RoomListLayoutStore; mxRoomListLayoutStore: RoomListLayoutStore;
mx_ActiveRoomObserver: ActiveRoomObserver; mxActiveRoomObserver: ActiveRoomObserver;
mxPlatformPeg: PlatformPeg; mxPlatformPeg: PlatformPeg;
mxIntegrationManagers: typeof IntegrationManagers; mxIntegrationManagers: typeof IntegrationManagers;
singletonModalManager: ModalManager; singletonModalManager: ModalManager;

View file

@ -77,7 +77,7 @@ export class ActiveRoomObserver {
}; };
} }
if (window.mx_ActiveRoomObserver === undefined) { if (window.mxActiveRoomObserver === undefined) {
window.mx_ActiveRoomObserver = new ActiveRoomObserver(); window.mxActiveRoomObserver = new ActiveRoomObserver();
} }
export default window.mx_ActiveRoomObserver; export default window.mxActiveRoomObserver;