Mercurial > libervia-backend
diff src/plugins/plugin_xep_0060.py @ 2195:d65275ac39b3
plugin XEP-0060: renamed psGet bridge method to psItemGet
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 13 Mar 2017 23:17:13 +0100 |
parents | dd53d7a3219a |
children | d3e48c9a255e |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py Mon Mar 13 23:15:06 2017 +0100 +++ b/src/plugins/plugin_xep_0060.py Mon Mar 13 23:17:13 2017 +0100 @@ -85,8 +85,8 @@ self._mam = host.plugins.get('XEP-0313') self._node_cb = {} # dictionnary of callbacks for node (key: node, value: list of callbacks) self.rt_sessions = sat_defer.RTDeferredSessions() - host.bridge.addMethod("psGet", ".plugin", in_sign='ssiassa{ss}s', out_sign='(asa{ss})', method=self._getItems, async=True) host.bridge.addMethod("psDeleteNode", ".plugin", in_sign='sss', out_sign='', method=self._deleteNode, async=True) + host.bridge.addMethod("psItemGet", ".plugin", in_sign='ssiassa{ss}s', out_sign='(asa{ss})', method=self._getItems, async=True) host.bridge.addMethod("psRetractItem", ".plugin", in_sign='sssbs', out_sign='', method=self._retractItem, async=True) host.bridge.addMethod("psRetractItems", ".plugin", in_sign='ssasbs', out_sign='', method=self._retractItems, async=True) host.bridge.addMethod("psSubscribeToMany", ".plugin", in_sign='a(ss)sa{ss}s', out_sign='s', method=self._subscribeToMany)