Mercurial > libervia-web
diff libervia.tac @ 299:e4f586fc6101
server and browser side: updated callback system to follow core changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Dec 2013 02:00:30 +0100 |
parents | 19bcd39c77f6 |
children | 4f221f34bdc7 |
line wrap: on
line diff
--- a/libervia.tac Tue Dec 17 01:47:01 2013 +0100 +++ b/libervia.tac Tue Dec 24 02:00:30 2013 +0100 @@ -486,9 +486,10 @@ warning("Trying to set parameter '%s' in category '%s' without authorization!!!" % (name, category)) - def jsonrpc_launchAction(self, action_type, data): + def jsonrpc_launchAction(self, callback_id, data): profile = ISATSession(self.session).profile - return self.sat_host.bridge.launchAction(action_type, data, profile) + d = self.asyncBridgeCall("launchAction", callback_id, data, profile) + return d def jsonrpc_chatStateComposing(self, to_jid_s): """Call the method to process a "composing" state.