That patch changes requestSendMessage to relay the call to the container, so
on the container side you could register a rpc event listener using:
gadgets.rpc.register('requestSendMessage', this.requestSendMessage);And then take it from there. On Fri, Sep 18, 2009 at 10:14 AM, Fayland Lam <[email protected]> wrote: > well, it seems it always return NOT_IMPLEMENTED with > shindig-1.0-incubating-php, right? > > I see the opensocial.js, the code is still > > opensocial.Container.prototype.requestSendMessage = function(recipients, > message, opt_callback, opt_params) { > if (opt_callback) { > window.setTimeout(function() { > opt_callback(new opensocial.ResponseItem( > null, null, opensocial.ResponseItem.Error.NOT_IMPLEMENTED, null)); > }, 0); > } > }; > > so what should I do towards it? I applied the patch of > http://mail-archives.apache.org/mod_mbox/incubator-shindig-commits/200906.mbox/%[email protected]%3e > and it seems not working. > > so what's the suggestion? use the trunk code? > > Thanks. > > -- > Fayland Lam // http://www.fayland.org/ > >

