diff src/browser/sat_browser/json.py @ 909:e8b133b77aa4

browser, server: update to get compatibility with 0.7-dev (not finished): Q&D update to restore compatibility - version changed to 0.7D - contact list has been modified to be compatible with changes, but it doesn't take profit of improvment yet - messageSend partially work, there is a disconnection and an error in console logs when sending a message - message are not received yet
author Goffi <goffi@goffi.org>
date Tue, 09 Aug 2016 01:07:15 +0200
parents fa7703642c0e
children 58f611481e6d
line wrap: on
line diff
--- a/src/browser/sat_browser/json.py	Wed Jul 13 22:45:54 2016 +0200
+++ b/src/browser/sat_browser/json.py	Tue Aug 09 01:07:15 2016 +0200
@@ -173,18 +173,18 @@
 class BridgeCall(LiberviaJsonProxy):
     def __init__(self):
         LiberviaJsonProxy.__init__(self, "/json_api",
-                        ["getContacts", "addContact", "sendMessage",
+                        ["getContacts", "addContact", "messageSend",
                          "psDeleteNode", "psRetractItem", "psRetractItems",
                          "mbSend", "mbRetract", "mbGet", "mbGetFromMany", "mbGetFromManyRTResult",
                          "mbGetFromManyWithComments", "mbGetFromManyWithCommentsRTResult",
-                         "getHistory", "getPresenceStatuses", "joinMUC", "mucLeave", "getRoomsJoined",
-                         "getRoomsSubjects", "inviteMUC", "launchTarotGame", "getTarotCardsPaths", "tarotGameReady",
+                         "getHistory", "getPresenceStatuses", "joinMUC", "mucLeave", "mucGetRoomsJoined",
+                         "inviteMUC", "launchTarotGame", "getTarotCardsPaths", "tarotGameReady",
                          "tarotGamePlayCards", "launchRadioCollective",
                          "getWaitingSub", "subscription", "delContact", "updateContact", "getCard",
                          "getEntityData", "getParamsUI", "asyncGetParamA", "setParam", "launchAction",
                          "disconnect", "chatStateComposing", "getNewAccountDomain", "confirmationAnswer",
                          "syntaxConvert", "getAccountDialogUI", "getMainResource", "getWaitingConf", "getEntitiesData",
-                         "getVersion", "getLiberviaVersion", "getDefaultMUC", "getFeatures",
+                         "getVersion", "getLiberviaVersion", "mucGetDefaultService", "getFeatures",
                         ])
 
     def __call__(self, *args, **kwargs):