mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
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:
parent
06676cfb33
commit
5c308b1caf
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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_; }
|
||||||
|
|
Loading…
Reference in a new issue