core (disco), plugin XEP-0115: client use + capabilities hash improvment:
- modified a couple of method from memory to use client instead of profile
- XEP-0115: don't use unique hash for all clients anymore, as disco can be different between clients/components, and even between clients (different identity for instance).
hash is now generated per client on each new session.
This commit is contained in:
parent
6f8834f9da
commit
7ffb8efb92
1 changed files with 64 additions and 73 deletions
|
|
@ -204,6 +204,7 @@ class XEP_0329(object):
|
|||
host.bridge.addMethod("FISList", ".plugin", in_sign='ssa{ss}s', out_sign='aa{ss}', method=self._listFiles, async=True)
|
||||
host.bridge.addMethod("FISSharePath", ".plugin", in_sign='ssss', out_sign='s', method=self._sharePath)
|
||||
host.trigger.add("XEP-0234_fileSendingRequest", self._fileSendingRequestTrigger)
|
||||
host.registerNamespace('fis', NS_FIS)
|
||||
|
||||
def getHandler(self, client):
|
||||
return XEP_0329_handler(self)
|
||||
|
|
|
|||
Loading…
Reference in a new issue