Skip to content

Commit faf5c75

Browse files
committed
More thorough resetting of matrix service state upon logout
1 parent 8e5e289 commit faf5c75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/host/app/services/matrix-service.ts

+6
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,12 @@ export default class MatrixService extends Service {
860860
this.unbindEventListeners();
861861
this._client = this.matrixSDK.createClient({ baseUrl: matrixURL });
862862
this.cardHashes = new Map();
863+
this.skillCardHashes = new Map();
864+
this._currentRoomId = undefined;
865+
this.messagesToSend = new TrackedMap();
866+
this.cardsToSend = new TrackedMap();
867+
this.filesToSend = new TrackedMap();
868+
this.currentUserEventReadReceipts = new TrackedMap();
863869
}
864870

865871
private bindEventListeners() {

0 commit comments

Comments
 (0)