[SCM] ktp-approver packaging branch, master, updated. debian/15.12.1-1-299-g62cbbd7

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 09:13:49 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-approver.git;a=commitdiff;h=b3f9d36

The following commit has been merged in the master branch:
commit b3f9d36e573b21ed1262425ef81ebb5778f4d9c7
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Tue Apr 9 14:14:11 2013 +0200

    Don't show notifications for delivery reports
    
    Reviewed-by: David Emdundson
    BUG: 317747
    FIXED-IN: 0.6.1
---
 src/textchannelapprover.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/textchannelapprover.cpp b/src/textchannelapprover.cpp
index 0e06a01..ea09480 100644
--- a/src/textchannelapprover.cpp
+++ b/src/textchannelapprover.cpp
@@ -53,6 +53,10 @@ TextChannelApprover::~TextChannelApprover()
 
 void TextChannelApprover::onMessageReceived(const Tp::ReceivedMessage & msg)
 {
+    if (msg.isDeliveryReport()) {
+        return;
+    }
+
     if (!m_notification) {
         m_notification = new KNotification("new_text_message");
         KAboutData aboutData("ktelepathy",0,KLocalizedString(),0);

-- 
ktp-approver packaging



More information about the pkg-kde-commits mailing list