[Tkabber-dev] [tclxmpp commit] r82 - in trunk: . xmpp

codesite-noreply at google.com codesite-noreply at google.com
Fri Feb 27 15:49:09 MSK 2009


Author: sgolovan
Date: Fri Feb 27 04:06:20 2009
New Revision: 82

Modified:
    trunk/ChangeLog
    trunk/xmpp/disco.tcl

Log:
	* xmpp/disco.tcl: Include in JID identity all received information and
	  not only category, type and name.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Fri Feb 27 04:06:20 2009
@@ -1,3 +1,8 @@
+2009-02-27  Sergei Golovan  <sgolovan at nes.ru>
+
+	* xmpp/disco.tcl: Include in JID identity all received information and
+	  not only category, type and name.
+
  2009-02-23  Sergei Golovan  <sgolovan at nes.ru>

  	* xmpp/disco.tcl, xmpp/pkgIndex.tcl: Added basic Service Discovery

Modified: trunk/xmpp/disco.tcl
==============================================================================
--- trunk/xmpp/disco.tcl	(original)
+++ trunk/xmpp/disco.tcl	Fri Feb 27 04:06:20 2009
@@ -167,12 +167,7 @@

          switch -- $stag {
              identity {
-                set identity [list category [::xmpp::xml::getAttr $sattrs  
category] \
-                                   type     [::xmpp::xml::getAttr $sattrs  
type]]
-                if {[::xmpp::xml::isAttr $sattrs name]} {
-                    lappend identity name [::xmpp::xml::getAttr $sattrs  
name]
-                }
-                lappend identities $identity
+                lappend identities $sattrs
              }
              feature {
                  lappend features [::xmpp::xml::getAttr $sattrs var]


More information about the Tkabber-dev mailing list