Fix previews getting sorted above normal rooms

pull/1215/head
Nicolas Werner 2 years ago
parent 74128cf8bd
commit e9a0f0a89e
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 6
      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,

Loading…
Cancel
Save