mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Compare the right types of events
This commit is contained in:
parent
122868e32f
commit
a713cc5c52
@ -335,7 +335,7 @@ class RoomListStore extends Store {
|
||||
|
||||
if (pinUnread) {
|
||||
const unreadA = this._getRoomState(roomA, "unread");
|
||||
const unreadB = this._getRoomState(roomB, "notifications");
|
||||
const unreadB = this._getRoomState(roomB, "unread");
|
||||
if (unreadA && !unreadB) return -1;
|
||||
if (!unreadA && unreadB) return 1;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user