[Tkabber-dev] [tclxmpp commit] r108 - * xmpp/pubsub.tcl: Fixed IQ types in queries which request items or

codesite-noreply at google.com codesite-noreply at google.com
Tue Apr 21 10:59:19 MSD 2009


Author: sgolovan
Date: Mon Apr 20 23:55:53 2009
New Revision: 108

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

Log:
	* xmpp/pubsub.tcl: Fixed IQ types in queries which request items or
	  configuration forms.


Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog	(original)
+++ trunk/ChangeLog	Mon Apr 20 23:55:53 2009
@@ -1,3 +1,8 @@
+2009-04-21  Sergei Golovan  <sgolovan at nes.ru>
+
+	* xmpp/pubsub.tcl: Fixed IQ types in queries which request items or
+	  configuration forms.
+
  2009-04-17  Sergei Golovan  <sgolovan at nes.ru>

  	* xmpp/https.tcl: Fixed typo in status message.

Modified: trunk/xmpp/pubsub.tcl
==============================================================================
--- trunk/xmpp/pubsub.tcl	(original)
+++ trunk/xmpp/pubsub.tcl	Mon Apr 20 23:55:53 2009
@@ -90,7 +90,7 @@
          }
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(pubsub) \
                      -subelement [::xmpp::xml::create subscriptions \
@@ -152,7 +152,7 @@
          }
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(pubsub) \
                      -subelement [::xmpp::xml::create affiliations \
@@ -536,7 +536,7 @@
          lappend attrs max_items $max_items
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(pubsub) \
                      -subelement [::xmpp::xml::create items \
@@ -855,7 +855,7 @@
          return -code error "Node must not be empty"
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(owner) \
                      -subelement [::xmpp::xml::create configure \
@@ -937,7 +937,7 @@
          }
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(owner) \
                      -subelement [::xmpp::xml::create default]] \
@@ -1086,7 +1086,7 @@
          return -code error "Node must not be empty"
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(owner) \
                      -subelement [::xmpp::xml::create subscriptions \
@@ -1187,7 +1187,7 @@
          return -code error "Node must not be empty"
      }

-    ::xmpp::sendIQ $xlib set \
+    ::xmpp::sendIQ $xlib get \
          -query [::xmpp::xml::create pubsub \
                      -xmlns $ns(owner) \
                      -subelement [::xmpp::xml::create affiliations]] \


More information about the Tkabber-dev mailing list