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:
Tobias Fella
2023-03-05 17:21:07 +01:00
parent f53a7a27f6
commit e6a060c192

View File

@@ -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) {