# HG changeset patch # User Goffi # Date 1591675154 -7200 # Node ID 6505e5cc6ab9f90c50ecc4bc179b9357d9dbb788 # Parent f5a5aa9fa73a62ab397b37cf16ab2dd06019c6d9 plugin XEP-0363: register namespace diff -r f5a5aa9fa73a -r 6505e5cc6ab9 sat/plugins/plugin_xep_0363.py --- a/sat/plugins/plugin_xep_0363.py Tue Jun 09 05:58:57 2020 +0200 +++ b/sat/plugins/plugin_xep_0363.py Tue Jun 09 05:59:14 2020 +0200 @@ -102,6 +102,8 @@ ) # list of callbacks used when a request is done to a component self.handlers = [] + # XXX: there is not yet official short name, so we use "http_upload" + host.registerNamespace("http_upload", NS_HTTP_UPLOAD) def getHandler(self, client): return XEP_0363_handler(self)