Skip to content
Snippets Groups Projects
Unverified Commit 5c308b1c authored by Emi Simpson's avatar Emi Simpson
Browse files

Fixed bug caused by me forgetting what types im using (invites appearing at...

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)
parent 06676cfb
No related branches found
No related tags found
No related merge requests found
......@@ -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_; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment