1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

only put NON-guessed rooms in self-chats

This commit is contained in:
Bruno Windels
2018-09-04 13:06:27 +02:00
parent c12abab52d
commit 245dfbf957

View File

@@ -117,7 +117,7 @@ export default class DMRoomMap {
return false;
}
userToRooms[myUserId] = selfRoomIds.filter((roomId) => {
return guessedUserIdsThatChanged
return !guessedUserIdsThatChanged
.some((ids) => ids.roomId === roomId);
});