[Tkabber-dev] r1461 - in trunk/tkabber: . plugins/iq

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Jun 15 23:45:10 MSD 2008


Author: sergei
Date: 2008-06-15 23:45:10 +0400 (Sun, 15 Jun 2008)
New Revision: 1461

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/iq/time2.tcl
Log:
	* plugins/iq/time2.tcl: Fixed urn:xmpp:time tag (thanks to Konstantin
	  Khomoutov).


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-06-15 17:51:20 UTC (rev 1460)
+++ trunk/tkabber/ChangeLog	2008-06-15 19:45:10 UTC (rev 1461)
@@ -3,6 +3,9 @@
 	* chats.tcl: Lower node and server case for JID to which a new chat
 	  window is opened using open_to_user procedure.
 
+	* plugins/iq/time2.tcl: Fixed urn:xmpp:time tag (thanks to Konstantin
+	  Khomoutov).
+
 2008-06-08  Sergei Golovan  <sgolovan at nes.ru>
 
 	* doc/tkabber.html, doc/tkabber.xml, README: Added a note about data

Modified: trunk/tkabber/plugins/iq/time2.tcl
===================================================================
--- trunk/tkabber/plugins/iq/time2.tcl	2008-06-15 17:51:20 UTC (rev 1460)
+++ trunk/tkabber/plugins/iq/time2.tcl	2008-06-15 19:45:10 UTC (rev 1461)
@@ -22,7 +22,7 @@
 	      [jlib::wrapper:createtag tzo \
 		   -chdata [timezone_offset]]]
     
-    set res [jlib::wrapper:createtag query \
+    set res [jlib::wrapper:createtag time \
 		 -vars {xmlns urn:xmpp:time} \
 		 -subtags $restags]
     
@@ -43,6 +43,6 @@
     return $S$H:$M
 }
 
-iq::register_handler get query urn:xmpp:time \
+iq::register_handler get time urn:xmpp:time \
     [namespace current]::xmpp_time
 



More information about the Tkabber-dev mailing list