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

This commit is contained in:
cnngimenez 2020-06-28 21:01:40 -03:00
parent bb61f0f39d
commit 9c7f3d59d8

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']