You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
fix var decl
This commit is contained in:
@@ -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] = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user