changeset 8:4b05308d45f9

fixed bad namespace
author Goffi <goffi@goffi.org>
date Mon, 26 Oct 2009 17:00:19 +0100
parents c14a3a7018a5
children 63ab3d8058f4
files plugins/plugin_xep_0065.py plugins/plugin_xep_0096.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/plugin_xep_0065.py	Sat Oct 24 01:05:17 2009 +0200
+++ b/plugins/plugin_xep_0065.py	Mon Oct 26 17:00:19 2009 +0100
@@ -453,6 +453,7 @@
         
     def sendFile(self, id, filepath, size):
         #lauching socks5 initiator
+        debug("Launching socks5 initiator")
         self.server_factory.protocol.mode = "initiator"
         self.server_factory.protocol.filepath = filepath
         self.server_factory.protocol.filesize = size
--- a/plugins/plugin_xep_0096.py	Sat Oct 24 01:05:17 2009 +0200
+++ b/plugins/plugin_xep_0096.py	Mon Oct 26 17:00:19 2009 +0100
@@ -145,7 +145,7 @@
         si=offer.addElement('si','http://jabber.org/protocol/si')
         si["mime-type"]='text/plain'
         si["profile"]='http://jabber.org/protocol/si/profile/file-transfer'
-        file = si.addElement('file', 'http://jabber.org/protocol/si')
+        file = si.addElement('file', 'http://jabber.org/protocol/si/profile/file-transfer')
         file['name']=os.path.basename(filepath)
         file['size']=str(statinfo.st_size)