Mercurial > libervia-backend
diff src/plugins/plugin_xep_0329.py @ 2533:8d82a62fa098
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.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 24 Mar 2018 10:44:37 +0100 |
parents | 65e278997715 |
children |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0329.py Wed Mar 21 19:13:22 2018 +0100 +++ b/src/plugins/plugin_xep_0329.py Sat Mar 24 10:44:37 2018 +0100 @@ -204,6 +204,7 @@ 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)