changeset 1106:09feea19d7b9

browser, server: added namespacesGet, so Libervia legacy app can run again
author Goffi <goffi@goffi.org>
date Sun, 03 Jun 2018 13:55:09 +0200
parents e6ff5530900e
children 2066d4fd9036
files src/browser/sat_browser/json.py src/server/server.py
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/sat_browser/json.py	Sun Jun 03 10:32:57 2018 +0200
+++ b/src/browser/sat_browser/json.py	Sun Jun 03 13:55:09 2018 +0200
@@ -185,6 +185,7 @@
                          "disconnect", "chatStateComposing", "getNewAccountDomain",
                          "syntaxConvert", "getAccountDialogUI", "getMainResource", "getEntitiesData",
                          "getVersion", "getLiberviaVersion", "mucGetDefaultService", "getFeatures",
+                         "namespacesGet",
                         ])
 
     def __call__(self, *args, **kwargs):
--- a/src/server/server.py	Sun Jun 03 10:32:57 2018 +0200
+++ b/src/server/server.py	Sun Jun 03 13:55:09 2018 +0200
@@ -900,6 +900,9 @@
         profile = session_iface.ISATSession(self.session).profile
         return self.sat_host.bridge.skipOTR(profile)
 
+    def jsonrpc_namespacesGet(self):
+        return self.sat_host.bridgeCall('namespacesGet')
+
 
 class WaitingRequests(dict):