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:
commit
0b38eeaa4a
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