[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:19:17 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=32f91cf
The following commit has been merged in the master branch:
commit 32f91cfb65ef993c02e4ba28272a0328064f133c
Author: Lasse Liehu <lliehu at kolumbus.fi>
Date: Thu Apr 14 01:09:28 2011 +0300
Don't notify of messages sent by self from another computer
Reviewed by mck182
---
lib/chat-widget.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp
index 3d460ae..b483436 100644
--- a/lib/chat-widget.cpp
+++ b/lib/chat-widget.cpp
@@ -462,6 +462,10 @@ void ChatWidget::notifyAboutIncomingMessage(const Tp::ReceivedMessage & message)
kDebug() << "Widget is on top, not doing anything";
return;
}
+ // don't notify of messages sent by self from another computer
+ if (message.sender() == d->channel->connection()->selfContact()) {
+ return;
+ }
// kde_telepathy_contact_highlight (contains your name)
// kde_telepathy_info_event
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list