From 9c7f3d59d8b35f3aab2a4ab514818bcff41ca44b Mon Sep 17 00:00:00 2001 From: cnngimenez Date: Sun, 28 Jun 2020 21:01:40 -0300 Subject: [PATCH] XEP-363 fix: call callback when receiving the upload slot. --- slixmpp/plugins/xep_0363/http_upload.py | 1 + 1 file changed, 1 insertion(+) 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']