[Tkabber-dev] r1351 - in trunk/tkabber: . plugins/filetransfer

tkabber-svn at jabber.ru tkabber-svn at jabber.ru
Sun Jan 27 19:32:16 MSK 2008


Author: sergei
Date: 2008-01-27 19:32:15 +0300 (Sun, 27 Jan 2008)
New Revision: 1351

Modified:
   trunk/tkabber/ChangeLog
   trunk/tkabber/plugins/filetransfer/si.tcl
Log:
	* plugins/filetransfer/si.tcl: Registered filetransfer feature to
	  include it into disco#info replies.


Modified: trunk/tkabber/ChangeLog
===================================================================
--- trunk/tkabber/ChangeLog	2008-01-23 20:20:38 UTC (rev 1350)
+++ trunk/tkabber/ChangeLog	2008-01-27 16:32:15 UTC (rev 1351)
@@ -1,3 +1,8 @@
+2008-01-27  Sergei Golovan  <sgolovan at nes.ru>
+
+	* plugins/filetransfer/si.tcl: Registered filetransfer feature to
+	  include it into disco#info replies.
+
 2008-01-23  Sergei Golovan  <sgolovan at nes.ru>
 
 	* msgs/de.msg: Updated German translation (thanks to Roger Sondermann).

Modified: trunk/tkabber/plugins/filetransfer/si.tcl
===================================================================
--- trunk/tkabber/plugins/filetransfer/si.tcl	2008-01-23 20:20:38 UTC (rev 1350)
+++ trunk/tkabber/plugins/filetransfer/si.tcl	2008-01-27 16:32:15 UTC (rev 1351)
@@ -13,10 +13,11 @@
     custom::defgroup {Stream Initiation} \
 	[::msgcat::mc "Stream initiation options."] \
 	-group {File Transfer}
+
+    set ::NS(file-transfer) http://jabber.org/protocol/si/profile/file-transfer
+    disco::register_feature $::NS(file-transfer)
 }
 
-set ::NS(file-transfer) http://jabber.org/protocol/si/profile/file-transfer
-
 ###############################################################################
 
 proc si::send_file {token} {



More information about the Tkabber-dev mailing list