From 50f6dfc488e28d9dc5dfa3e99f92e2bd0de937b9 Mon Sep 17 00:00:00 2001 From: Bastian Hofmann Date: Sat, 24 Sep 2011 13:35:45 +0000 Subject: [PATCH] fixed sending message object with requestSendMessage rpc call in default opensocial container implementation git-svn-id: https://svn.apache.org/repos/asf/shindig/trunk@1175166 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/javascript/features/opensocial-reference/container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/src/main/javascript/features/opensocial-reference/container.js b/features/src/main/javascript/features/opensocial-reference/container.js index 0fb6f5cd7..e4f204b63 100644 --- a/features/src/main/javascript/features/opensocial-reference/container.js +++ b/features/src/main/javascript/features/opensocial-reference/container.js @@ -100,7 +100,7 @@ opensocial.Container.prototype.getEnvironment = function() {}; opensocial.Container.prototype.requestSendMessage = function(recipients, message, opt_callback, opt_params) { gadgets.rpc.call(null, 'requestSendMessage', opt_callback, recipients, - message, opt_callback, opt_params); + message.toJsonObject(), opt_callback, opt_params); };