mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Fixed channels appearing out of order when only mentions were present, without any non-mentions
This commit is contained in:
parent
08125e8c44
commit
b2a6232eb3
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ unsigned short int
|
|||
RoomInfoListItem::calculateImportance() const
|
||||
{
|
||||
return (hasUnreadMessages_) +
|
||||
(unreadMsgCount_ != 0) +
|
||||
(unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
|
||||
(unreadHighlightedMsgCount_ != 0) +
|
||||
(isInvite()) * 4;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue