diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-22 21:39:29 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-10-22 21:39:29 +0200 |
commit | e9a0f0a89e87b8cb01f1fdfc0990c4ad23660cbe (patch) | |
tree | 2a9e77269d390330b4a225efb9f96f6732fa41f8 /src/timeline | |
parent | Fix excessive summary calls (diff) | |
download | nheko-e9a0f0a89e87b8cb01f1fdfc0990c4ad23660cbe.tar.xz |
Fix previews getting sorted above normal rooms
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/RoomlistModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp index 181c2136..82b3fc3d 100644 --- a/src/timeline/RoomlistModel.cpp +++ b/src/timeline/RoomlistModel.cpp @@ -796,9 +796,9 @@ RoomlistModel::setCurrentRoom(const QString &roomid) namespace { enum NotificationImportance : short { - ImportanceDisabled = -3, - NoPreview = -2, - Preview = -1, + NoPreview = -3, + Preview = -2, + ImportanceDisabled = -1, AllEventsRead = 0, NewMessage = 1, NewMentions = 2, |