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

Fixed channels appearing out of order when only mentions were present, without any non-mentions

parent 08125e8c
No related branches found
No related tags found
No related merge requests found
......@@ -328,7 +328,7 @@ unsigned short int
RoomInfoListItem::calculateImportance() const
{
return (hasUnreadMessages_) +
(unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ != 0) +
(isInvite()) * 4;
}
......
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