Merge branch 'xep-0363-callback-fix' into 'master'

XEP-0363 fix: call callback when receiving the upload slot.

See merge request poezio/slixmpp!58
This commit is contained in:
Maxime Buquet 2020-10-01 13:52:28 +02:00
commit 0b38eeaa4a

View file

@ -138,6 +138,7 @@ class XEP_0363(BasePlugin):
basename = os.path.basename(filename)
slot_iq = await self.request_slot(self.upload_service, basename, size,
content_type, ifrom, timeout,
callback=callback,
timeout_callback=timeout_callback)
slot = slot_iq['http_upload_slot']