diff src/plugins/plugin_xep_0047.py @ 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 cf005701624b
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