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)

This commit is contained in:
Emi Simpson 2020-03-15 17:05:21 -04:00
parent 06676cfb33
commit 5c308b1caf
No known key found for this signature in database
GPG key ID: 68FAB2E2E6DFC98B
2 changed files with 2 additions and 2 deletions

View file

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

View file

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