~telepathy-kde/telepathy-kde/ktp-approver

« back to all changes in this revision

Viewing changes to src/textchannelapprover.cpp

  • Committer: Alexander Akulich
  • Date: 2020-01-19 23:15:52 UTC
  • Revision ID: git-v1:4c52b193e794a3bc0151df3c3f26c1b77b297d06
TextChannelApprover: Don't show notification for silent messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        // The message is already read; nothing to notify about.
60
60
        return;
61
61
    }
 
62
    if (msg.isSilent()) {
 
63
        return;
 
64
    }
62
65
 
63
66
    if (!m_notification) {
64
67
        m_notification = new KNotification("new_text_message", 0, KNotification::Persistent);