summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0047/ibb.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0047/ibb.py')
-rw-r--r--slixmpp/plugins/xep_0047/ibb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0047/ibb.py b/slixmpp/plugins/xep_0047/ibb.py
index ce697f01..7c01c78a 100644
--- a/slixmpp/plugins/xep_0047/ibb.py
+++ b/slixmpp/plugins/xep_0047/ibb.py
@@ -191,8 +191,7 @@ class XEP_0047(BasePlugin):
self.window_size)
stream.stream_started.set()
self.api['set_stream'](stream.self_jid, stream.sid, stream.peer_jid, stream)
- iq.reply()
- iq.send()
+ iq.reply().send()
self.xmpp.event('ibb_stream_start', stream)
self.xmpp.event('stream:%s:%s' % (sid, stream.peer_jid), stream)