Mercurial > libervia-backend
changeset 3294:6505e5cc6ab9
plugin XEP-0363: register namespace
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 09 Jun 2020 05:59:14 +0200 |
parents | f5a5aa9fa73a |
children | 9bc3fca290ab |
files | sat/plugins/plugin_xep_0363.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)