Can now disable desktop mentions
Was not checking if the setting was enabled
This commit is contained in:
parent
01a85ce60b
commit
b81ed893e1
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
|
||||||
cursor.insertText(mention, mentionFormat);
|
cursor.insertText(mention, mentionFormat);
|
||||||
message = message.mid(mention.size());
|
message = message.mid(mention.size());
|
||||||
QApplication::alert(this);
|
QApplication::alert(this);
|
||||||
if (shouldShowSystemPopup()) {
|
if (settingsCache->getShowMentionPopup() && shouldShowSystemPopup()) {
|
||||||
QString ref = sender.left(sender.length() - 2);
|
QString ref = sender.left(sender.length() - 2);
|
||||||
showSystemPopup(ref);
|
showSystemPopup(ref);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue