mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
only put NON-guessed rooms in self-chats
This commit is contained in:
parent
c12abab52d
commit
245dfbf957
@ -117,7 +117,7 @@ export default class DMRoomMap {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
userToRooms[myUserId] = selfRoomIds.filter((roomId) => {
|
userToRooms[myUserId] = selfRoomIds.filter((roomId) => {
|
||||||
return guessedUserIdsThatChanged
|
return !guessedUserIdsThatChanged
|
||||||
.some((ids) => ids.roomId === roomId);
|
.some((ids) => ids.roomId === roomId);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user