Fixed bug caused by me forgetting what types im using (invites appearing at the bottom of the list instead of the top when priority sorting was off)

image-modal-download
Emi Simpson 5 years ago
parent 06676cfb33
commit 5c308b1caf
No known key found for this signature in database
GPG Key ID: 68FAB2E2E6DFC98B
  1. 2
      src/RoomInfoListItem.cpp
  2. 2
      src/RoomInfoListItem.h

@ -338,7 +338,7 @@ enum NotificationImportance : short
Invite = 3
};
unsigned short int
short int
RoomInfoListItem::calculateImportance() const
{
// Returns the degree of importance of the unread messages in the room.

@ -72,7 +72,7 @@ public:
void updateUnreadMessageCount(int count, int highlightedCount);
void clearUnreadMessageCount() { updateUnreadMessageCount(0, 0); };
unsigned short int calculateImportance() const;
short int calculateImportance() const;
QString roomId() { return roomId_; }
bool isPressed() const { return isPressed_; }

Loading…
Cancel
Save