Merge pull request #4921 from matrix-org/travis/room-list/fix-dms

Fix DM handling in new room list
pull/21833/head
Travis Ralston 2020-07-07 16:19:48 -06:00 committed by GitHub
commit 1b89e75a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ export class Algorithm extends EventEmitter {
}
if (!inTag) {
if (DMRoomMap.getUserIdForRoomId(room.roomId)) {
if (DMRoomMap.shared().getUserIdForRoomId(room.roomId)) {
newTags[DefaultTagID.DM].push(room);
} else {
newTags[DefaultTagID.Untagged].push(room);