Verified Commit 4c52b193 authored by Alexander Akulich's avatar Alexander Akulich
Browse files

TextChannelApprover: Don't show notification for silent messages

parent 079487a8
......@@ -59,6 +59,9 @@ void TextChannelApprover::onMessageReceived(const Tp::ReceivedMessage & msg)
// The message is already read; nothing to notify about.
return;
}
if (msg.isSilent()) {
return;
}
if (!m_notification) {
m_notification = new KNotification("new_text_message", 0, KNotification::Persistent);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment