XEP-363 fix: call callback when receiving the upload slot.
This commit is contained in:
parent
bb61f0f39d
commit
9c7f3d59d8
@ -138,6 +138,7 @@ class XEP_0363(BasePlugin):
|
|||||||
basename = os.path.basename(filename)
|
basename = os.path.basename(filename)
|
||||||
slot_iq = await self.request_slot(self.upload_service, basename, size,
|
slot_iq = await self.request_slot(self.upload_service, basename, size,
|
||||||
content_type, ifrom, timeout,
|
content_type, ifrom, timeout,
|
||||||
|
callback=callback,
|
||||||
timeout_callback=timeout_callback)
|
timeout_callback=timeout_callback)
|
||||||
slot = slot_iq['http_upload_slot']
|
slot = slot_iq['http_upload_slot']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user