Fixed channels appearing out of order when only mentions were present, without any non-mentions
This commit is contained in:
parent
08125e8c44
commit
b2a6232eb3
@ -328,7 +328,7 @@ unsigned short int
|
|||||||
RoomInfoListItem::calculateImportance() const
|
RoomInfoListItem::calculateImportance() const
|
||||||
{
|
{
|
||||||
return (hasUnreadMessages_) +
|
return (hasUnreadMessages_) +
|
||||||
(unreadMsgCount_ != 0) +
|
(unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
|
||||||
(unreadHighlightedMsgCount_ != 0) +
|
(unreadHighlightedMsgCount_ != 0) +
|
||||||
(isInvite()) * 4;
|
(isInvite()) * 4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user