I have an extension that installs commands to create new waves and insert different gadgets inside them. I'm using the method of having the extension add my robot to the new waves with addresses of the form myrobot+[[email protected], so that the robot can tell which gadget to add to the new wave. This has been working great, but now I'm running into a problem having the robot examine the contents of the waves that it's created. When I call robot.fetch_wavelet on a wave that was created using an alternate robot address, I get an exception of the form "RPC Error500: internalError: [email protected] is not a participant of wave id: [WaveId:googlewave.com!w+W1...".
The fetch_wavelet call succeeds if I manually remove "myrobot +command1" from the wave it created and add the robot back with its default "myrobot" address, but it looks like it's not possible to do that programmatically (http://wave-api-faq.appspot.com/ #removeparticipant). I might be able to add a second instance of the robot with the default name to the created wave, but that seems ugly because there would be two robot icons, and I'd have to make sure that only one of the robots responds to wave events. Is there a better way to do this? Thanks, Brian -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
