[Tkabber-dev] r1097 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Wed Apr 11 23:56:55 MSD 2007


Author: sergei
Date: 2007-04-11 23:56:54 +0400 (Wed, 11 Apr 2007)
New Revision: 1097

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/messages.tcl
Log:
	* messages.tcl: Ignore empty jabber:x:data form in messages.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2007-04-11 16:20:54 UTC (rev 1096)
+++ trunk/tkabber/ChangeLog	2007-04-11 19:56:54 UTC (rev 1097)
@@ -6,6 +6,8 @@
 	* plugins/search/search.tcl: Fixed searching substrings and glob
 	  patterns.
 
+	* messages.tcl: Ignore empty jabber:x:data form in messages.
+
 2007-04-10  Sergei Golovan  <sgolovan at nes.ru>
 
 	* messages.tcl, presence.tcl: Moved showing unsubscribed message

Modified: trunk/tkabber/messages.tcl
===================================================================
--- trunk/tkabber/messages.tcl	2007-04-11 16:20:54 UTC (rev 1096)
+++ trunk/tkabber/messages.tcl	2007-04-11 19:56:54 UTC (rev 1097)
@@ -228,7 +228,9 @@
 		set row [process_x_oob $f $children $row $from]
 	    } \
 	    $::NS(data) {
-		process_x_data $f $from $x
+		if {![lempty $children]} {
+		    process_x_data $f $from $children
+		}
 	    } \
 	}
 



More information about the Tkabber-dev mailing list