Mercurial > libervia-web
changeset 1123:63a4b8fe9782
browser: fixes to handle encryption changes in backend
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 11 Aug 2018 18:35:37 +0200 |
parents | f6319c27f2eb |
children | 28e3eb3bb217 |
files | src/browser/libervia_main.py src/browser/sat_browser/json.py |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/libervia_main.py Sat Aug 04 13:07:46 2018 +0200 +++ b/src/browser/libervia_main.py Sat Aug 11 18:35:37 2018 +0200 @@ -74,6 +74,8 @@ class SatWebFrontend(InputHistory, QuickApp): + ENCRYPTION_HANDLERS = False # e2e encryption is handled directly by Libervia, + # not backend def onModuleLoad(self): log.info("============ onModuleLoad ==============")
--- a/src/browser/sat_browser/json.py Sat Aug 04 13:07:46 2018 +0200 +++ b/src/browser/sat_browser/json.py Sat Aug 11 18:35:37 2018 +0200 @@ -199,6 +199,10 @@ log.warning("isConnected is not implemeted in Libervia as for now profile is connected if session is opened") callback(True) + def encryptionPluginsGet(self, callback, errback): + """e2e encryption have no sense if made on backend, so we ignore this call""" + callback([]) + def bridgeConnect(self, callback, errback): callback()