# HG changeset patch # User Goffi # Date 1534005337 -7200 # Node ID 63a4b8fe97821c2d1237ac795732ecbff9b39d6f # Parent f6319c27f2eb2b7c56a9f1e5d6d48abf8960f0b1 browser: fixes to handle encryption changes in backend diff -r f6319c27f2eb -r 63a4b8fe9782 src/browser/libervia_main.py --- 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 ==============") diff -r f6319c27f2eb -r 63a4b8fe9782 src/browser/sat_browser/json.py --- 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()