[Tkabber-dev] r104 - trunk/plugins/receipts

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Apr 15 16:37:45 MSD 2008


Author: kostix
Date: 2008-04-15 16:37:45 +0400 (Tue, 15 Apr 2008)
New Revision: 104

Modified:
   trunk/plugins/receipts/receipts.tcl
Log:
receipts/receipts.tcl: Fixed a bug with receipt arriving when the chat
 window it would be applied to is closed.


Modified: trunk/plugins/receipts/receipts.tcl
===================================================================
--- trunk/plugins/receipts/receipts.tcl	2008-04-06 22:19:42 UTC (rev 103)
+++ trunk/plugins/receipts/receipts.tcl	2008-04-15 12:37:45 UTC (rev 104)
@@ -59,6 +59,7 @@
     switch -- $type {
 	chat {
 	    set chatid [chat::chatid $connid $from]
+	    if {![chat::is_opened $chatid]} return
 	    set cw [chat::chat_win $chatid]
 
 	    set name msgid_$id



More information about the Tkabber-dev mailing list