diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-04-14 17:40:50 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-04-14 19:14:56 +0200 |
commit | ce085bf4f4714d6073e297b599d39b42fcfe218f (patch) | |
tree | 3b9ca0e8ed92d166310c99d0cba35829582c5ac2 | |
parent | 990113f8e745b810f91f5c8e52967d6c5d32c4df (diff) | |
download | slixmpp-ce085bf4f4714d6073e297b599d39b42fcfe218f.tar.gz slixmpp-ce085bf4f4714d6073e297b599d39b42fcfe218f.tar.bz2 slixmpp-ce085bf4f4714d6073e297b599d39b42fcfe218f.tar.xz slixmpp-ce085bf4f4714d6073e297b599d39b42fcfe218f.zip |
XEP-0047: announce the correct stanza type if message is selected.
-rw-r--r-- | slixmpp/plugins/xep_0047/ibb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0047/ibb.py b/slixmpp/plugins/xep_0047/ibb.py index cbb13de5..de801877 100644 --- a/slixmpp/plugins/xep_0047/ibb.py +++ b/slixmpp/plugins/xep_0047/ibb.py @@ -119,7 +119,7 @@ class XEP_0047(BasePlugin): iq['from'] = ifrom iq['ibb_open']['block_size'] = block_size iq['ibb_open']['sid'] = sid - iq['ibb_open']['stanza'] = 'iq' + iq['ibb_open']['stanza'] = 'message' if use_messages else 'iq' stream = IBBytestream(self.xmpp, sid, block_size, iq['from'], iq['to'], window, |