Appease the linter

This commit is contained in:
Emi Simpson 2020-03-14 09:16:08 -04:00
parent 389117f1e8
commit a5b388db15
No known key found for this signature in database
GPG key ID: 68FAB2E2E6DFC98B
2 changed files with 13 additions and 11 deletions

View file

@ -332,10 +332,8 @@ RoomInfoListItem::calculateImportance() const
// 2: Contains unread messages
// 3: Contains mentions
// 4: Is a room invite
return (hasUnreadMessages_) +
(unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ != 0) +
(isInvite()) * 4;
return (hasUnreadMessages_) + (unreadHighlightedMsgCount_ + unreadMsgCount_ != 0) +
(unreadHighlightedMsgCount_ != 0) + (isInvite()) * 4;
}
void