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; 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);
}); });