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

image-modal-download
Emi Simpson 5 years ago
parent 08125e8c44
commit b2a6232eb3
No known key found for this signature in database
GPG Key ID: 68FAB2E2E6DFC98B
  1. 2
      src/RoomInfoListItem.cpp

@ -328,7 +328,7 @@ unsigned short int
RoomInfoListItem::calculateImportance() const
{
return (hasUnreadMessages_) +
(unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ != 0) +
(isInvite()) * 4;
}

Loading…
Cancel
Save