plugin XEP-0363: register namespace

This commit is contained in:
Goffi 2020-06-09 05:59:14 +02:00
commit 43466029ab

View file

@ -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)