Appease the linter
This commit is contained in:
parent
389117f1e8
commit
a5b388db15
2 changed files with 13 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue