plugin XEP-0363: register namespace
This commit is contained in:
parent
e712981938
commit
43466029ab
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue