changeset 404:6a1c6c41b91b

plugin xep-0047: removed gajim workaround as gajim has been fixed
author Goffi <goffi@goffi.org>
date Sat, 08 Oct 2011 11:19:25 +0200
parents c513328ade9d
children 10b4f577d0c0
files src/plugins/plugin_xep_0047.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0047.py	Fri Oct 07 12:09:48 2011 +0200
+++ b/src/plugins/plugin_xep_0047.py	Sat Oct 08 11:19:25 2011 +0200
@@ -38,12 +38,11 @@
     from wokkel.subprotocols import XMPPHandler
 
 MESSAGE = '/message'
-IQ = '/iq'
 IQ_SET = '/iq[@type="set"]'
 NS_IBB = 'http://jabber.org/protocol/ibb'
 IBB_OPEN = IQ_SET + '/open[@xmlns="' + NS_IBB + '"]'
 IBB_CLOSE = IQ_SET + '/close[@xmlns="' + NS_IBB + '" and @sid="%s"]'
-IBB_IQ_DATA = IQ + '/data[@xmlns="' + NS_IBB + '" and @sid="%s"]' #we use IQ instead of IQ_SET because of a bug in Gajim
+IBB_IQ_DATA = IQ_SET + '/data[@xmlns="' + NS_IBB + '" and @sid="%s"]'
 IBB_MESSAGE_DATA = MESSAGE + '/data[@xmlns="' + NS_IBB + '" and @sid="%s"]'
 TIMEOUT = 60 #timeout for workflow
 BLOCK_SIZE = 4096