XEP-363 fix: call callback when receiving the upload slot.
This commit is contained in:
parent
bb61f0f39d
commit
9c7f3d59d8
1 changed files with 1 additions and 0 deletions
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue