only put NON-guessed rooms in self-chats

pull/21833/head
Bruno Windels 2018-09-04 13:06:27 +02:00
parent c12abab52d
commit 245dfbf957
1 changed files with 1 additions and 1 deletions

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