[Tkabber-dev] r429 - trunk/plugins/urgent

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Oct 24 02:50:28 MSD 2010


Author: kostix
Date: 2010-10-24 02:50:28 +0400 (Sun, 24 Oct 2010)
New Revision: 429

Modified:
   trunk/plugins/urgent/urgent.tcl
Log:
Don't set urgency hint when our own chat messages are displayed


Modified: trunk/plugins/urgent/urgent.tcl
===================================================================
--- trunk/plugins/urgent/urgent.tcl	2010-10-23 22:33:12 UTC (rev 428)
+++ trunk/plugins/urgent/urgent.tcl	2010-10-23 22:50:28 UTC (rev 429)
@@ -79,7 +79,8 @@
 
 	    if {$from == "" && $options(handle_server_messages)} {
 		set_urgency_hint $chatid
-	    } elseif {$options(handle_personal_messages)} {
+	    } elseif {$options(handle_personal_messages)
+			&& ![string equal $from [chat::our_jid $chatid]]} {
 		set_urgency_hint $chatid
 	    }
 	}



More information about the Tkabber-dev mailing list