summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-22 21:39:29 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-22 21:39:29 +0200
commite9a0f0a89e87b8cb01f1fdfc0990c4ad23660cbe (patch)
tree2a9e77269d390330b4a225efb9f96f6732fa41f8 /src/timeline
parentFix excessive summary calls (diff)
downloadnheko-e9a0f0a89e87b8cb01f1fdfc0990c4ad23660cbe.tar.xz
Fix previews getting sorted above normal rooms
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/RoomlistModel.cpp6
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,