From 008fdf8dfbc4cd45c2907d672a947fb46ddd72c7 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 13 Jan 2021 15:44:33 +0000 Subject: [PATCH] Missed some underscores --- src/utils/DMRoomMap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/DMRoomMap.ts b/src/utils/DMRoomMap.ts index 3a8c109b79..e49b74c380 100644 --- a/src/utils/DMRoomMap.ts +++ b/src/utils/DMRoomMap.ts @@ -185,7 +185,7 @@ export default class DMRoomMap { const myUserId = this.matrixClient.getUserId(); const selfDMs = userToRooms[myUserId]; if (selfDMs && selfDMs.length) { - const neededPatching = this._patchUpSelfDMs(userToRooms); + const neededPatching = this.patchUpSelfDMs(userToRooms); // to avoid multiple devices fighting to correct // the account data, only try to send the corrected // version once. @@ -203,7 +203,7 @@ export default class DMRoomMap { private populateRoomToUser() { this.roomToUser = {}; - for (const user of Object.keys(this._getUserToRooms())) { + for (const user of Object.keys(this.getUserToRooms())) { for (const roomId of this.userToRooms[user]) { this.roomToUser[roomId] = user; }