Fix previews getting sorted above normal rooms

This commit is contained in:
Nicolas Werner 2022-10-22 21:39:29 +02:00
parent 74128cf8bd
commit e9a0f0a89e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -796,9 +796,9 @@ RoomlistModel::setCurrentRoom(const QString &roomid)
namespace { namespace {
enum NotificationImportance : short enum NotificationImportance : short
{ {
ImportanceDisabled = -3, NoPreview = -3,
NoPreview = -2, Preview = -2,
Preview = -1, ImportanceDisabled = -1,
AllEventsRead = 0, AllEventsRead = 0,
NewMessage = 1, NewMessage = 1,
NewMentions = 2, NewMentions = 2,