From 43466029abb4ab2b6c4f13dccabb8c3124b7538f Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 9 Jun 2020 05:59:14 +0200 Subject: [PATCH] plugin XEP-0363: register namespace --- sat/plugins/plugin_xep_0363.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sat/plugins/plugin_xep_0363.py b/sat/plugins/plugin_xep_0363.py index 3e93afee..c6d62ee4 100644 --- a/sat/plugins/plugin_xep_0363.py +++ b/sat/plugins/plugin_xep_0363.py @@ -102,6 +102,8 @@ class XEP_0363: ) # 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)