Don't show highlights in DMs
It's a DM, the messages are all meant for us anyway CCBUG: 466895
This commit is contained in:
@@ -571,7 +571,7 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
|
||||
}
|
||||
|
||||
if (role == HighlightRole) {
|
||||
return m_currentRoom->isEventHighlighted(&evt);
|
||||
return !m_currentRoom->isDirectChat() && m_currentRoom->isEventHighlighted(&evt);
|
||||
}
|
||||
|
||||
if (role == FileMimetypeIcon) {
|
||||
|
||||
Reference in New Issue
Block a user