fix var decl
This commit is contained in:
parent
d7868dbe33
commit
caff60d56d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export default class DMRoomMap {
|
|||
userId = "";
|
||||
}
|
||||
const roomId = selfRoomIds[i];
|
||||
const roomIds = userToRooms[userId];
|
||||
let roomIds = userToRooms[userId];
|
||||
if (!roomIds) {
|
||||
roomIds = userToRooms[userId] = [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue