[Tkabber-dev] r1569 - trunk/tkabber

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Tue Oct 21 10:42:45 MSD 2008


Author: sergei
Date: 2008-10-21 10:42:45 +0400 (Tue, 21 Oct 2008)
New Revision: 1569

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/disco.tcl
Log:
	* disco.tcl: Fixed checking for jabber:x:data XMLNS in disco forms.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-10-21 06:20:25 UTC (rev 1568)
+++ trunk/tkabber/ChangeLog	2008-10-21 06:42:45 UTC (rev 1569)
@@ -5,6 +5,8 @@
 	* plugins/general/remote.tcl: Fixed -xmlns option in xmpp::xml::create
 	  call.
 
+	* disco.tcl: Fixed checking for jabber:x:data XMLNS in disco forms.
+
 2008-10-20  Sergei Golovan  <sgolovan at nes.ru>
 
 	* messages.tcl: Fixed typo.

Modified: trunk/tkabber/disco.tcl
===================================================================
--- trunk/tkabber/disco.tcl	2008-10-21 06:20:25 UTC (rev 1568)
+++ trunk/tkabber/disco.tcl	2008-10-21 06:42:45 UTC (rev 1569)
@@ -206,7 +206,7 @@
 		}
 	    }
 	    default {
-		if {[::xmpp::xml::getAttr $sattrs xmlns] == $::NS(data) && \
+		if {$xmlns == $::NS(data) && \
 			[::xmpp::xml::getAttr $sattrs type] == "result"} {
 		    lappend extras [data::parse_xdata_results $ssubels -hidden 1]
 		}



More information about the Tkabber-dev mailing list