Mercurial > libervia-web
changeset 921:cf527974a0fa
both: renamed psDeleteNode to psNodeDelete to follow backend change
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Apr 2017 00:53:09 +0200 |
parents | 8cea8bf41b03 |
children | 16d1084d1371 |
files | src/browser/sat_browser/json.py src/server/server.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/sat_browser/json.py Wed Mar 29 19:46:27 2017 +0200 +++ b/src/browser/sat_browser/json.py Mon Apr 03 00:53:09 2017 +0200 @@ -174,7 +174,7 @@ def __init__(self): LiberviaJsonProxy.__init__(self, "/json_api", ["getContacts", "addContact", "messageSend", - "psDeleteNode", "psRetractItem", "psRetractItems", + "psNodeDelete", "psRetractItem", "psRetractItems", "mbSend", "mbRetract", "mbGet", "mbGetFromMany", "mbGetFromManyRTResult", "mbGetFromManyWithComments", "mbGetFromManyWithCommentsRTResult", "historyGet", "getPresenceStatuses", "joinMUC", "mucLeave", "mucGetRoomsJoined",
--- a/src/server/server.py Wed Mar 29 19:46:27 2017 +0200 +++ b/src/server/server.py Mon Apr 03 00:53:09 2017 +0200 @@ -422,14 +422,14 @@ ## PubSub ## - def jsonrpc_psDeleteNode(self, service, node): + def jsonrpc_psNodeDelete(self, service, node): """Delete a whole node @param service (unicode): service jid @param node (unicode): node to delete """ profile = session_iface.ISATSession(self.session).profile - return self.asyncBridgeCall("psDeleteNode", service, node, profile) + return self.asyncBridgeCall("psNodeDelete", service, node, profile) # def jsonrpc_psRetractItem(self, service, node, item, notify): # """Delete a whole node