From 671b98efa8bf21b74e00b358b272243278c88fdd Mon Sep 17 00:00:00 2001 From: Goffi Date: Sat, 8 Oct 2011 11:19:25 +0200 Subject: [PATCH] plugin xep-0047: removed gajim workaround as gajim has been fixed --- src/plugins/plugin_xep_0047.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/plugin_xep_0047.py b/src/plugins/plugin_xep_0047.py index d019609e..5b7220c7 100644 --- a/src/plugins/plugin_xep_0047.py +++ b/src/plugins/plugin_xep_0047.py @@ -38,12 +38,11 @@ except ImportError: 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