Fix DM handling in new room list

pull/21833/head
Travis Ralston 2020-07-07 16:16:46 -06:00
parent 85e018111b
commit 774e32ecf0
1 changed files with 1 additions and 1 deletions

View File

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