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();
}