Merge pull request #4921 from matrix-org/travis/room-list/fix-dms
Fix DM handling in new room listpull/21833/head
commit
1b89e75a5d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue