mirror of https://github.com/vector-im/riot-web
Fix DM handling in new room list
parent
85e018111b
commit
774e32ecf0
|
@ -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