# HG changeset patch # User Goffi # Date 1318065565 -7200 # Node ID 6a1c6c41b91bf1348eee5ce001b4166474283491 # Parent c513328ade9df9904a1e684d7f4e8378b26dc366 plugin xep-0047: removed gajim workaround as gajim has been fixed diff -r c513328ade9d -r 6a1c6c41b91b src/plugins/plugin_xep_0047.py --- 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