From e9a0f0a89e87b8cb01f1fdfc0990c4ad23660cbe Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 22 Oct 2022 21:39:29 +0200 Subject: [PATCH] Fix previews getting sorted above normal rooms --- src/timeline/RoomlistModel.cpp | 6 +++--- 1 file 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,