1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Give DMRoomMap an explicit makeShared

Otherwise it will hang on to the old state client on logout.
This commit is contained in:
David Baker
2016-09-27 09:56:31 +01:00
parent 690309adfc
commit 2be1cc9f85
2 changed files with 11 additions and 5 deletions

View File

@@ -318,7 +318,7 @@ export function startMatrixClient() {
Notifier.start();
UserActivity.start();
Presence.start();
DMRoomMap.shared().start();
DMRoomMap.makeShared().start();
MatrixClientPeg.start();
}