diff plugins/plugin_xep_0096.py @ 8:4b05308d45f9

fixed bad namespace
author Goffi <goffi@goffi.org>
date Mon, 26 Oct 2009 17:00:19 +0100
parents c14a3a7018a5
children 218ec9984fa5
line wrap: on
line diff
--- 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)