diff options
author | cnngimenez <christian.gimenez@fi.uncoma.edu.ar> | 2020-06-28 21:01:40 -0300 |
---|---|---|
committer | cnngimenez <christian.gimenez@fi.uncoma.edu.ar> | 2020-06-28 21:01:40 -0300 |
commit | 9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b (patch) | |
tree | b70e3ca56f256c8b14e09171c3e3c399466405e5 | |
parent | bb61f0f39dfba205282dab50c0f3a47b26145c74 (diff) | |
download | slixmpp-9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b.tar.gz slixmpp-9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b.tar.bz2 slixmpp-9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b.tar.xz slixmpp-9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b.zip |
XEP-363 fix: call callback when receiving the upload slot.
-rw-r--r-- | slixmpp/plugins/xep_0363/http_upload.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0363/http_upload.py b/slixmpp/plugins/xep_0363/http_upload.py index a833a9c9..04b066cd 100644 --- a/slixmpp/plugins/xep_0363/http_upload.py +++ b/slixmpp/plugins/xep_0363/http_upload.py @@ -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'] |