RobotMessageBundle.wasSelfAdded() is returning true each time. On Fri, Oct 23, 2009 at 4:53 PM, Karan Bhatnagar <karan.bhatna...@gmail.com>wrote:
> EventType.WAVELET_SELF_ADDED is being triggered if I add > robotn...@appspot.com. It is again triggered if I add > robotname+...@appspot.com <robotname%2b...@appspot.com>. Any hint how to > handle the situation that I should call my handler only the first time? > I think if I can determine if my robot is already a participant then the > handler should not be invoked. Is there a way to determine if a robot is > already a participant of wave? > > On Fri, Oct 23, 2009 at 9:16 AM, Austin Chau (Google employee) < > api.aus...@google.com> wrote: > >> The event you want to catch is EventType.WAVELET_SELF_ADDED >> This event type does not need to be explicitly registered for, it is added >> by default to all robot. >> >> Austin >> >> >> On Thu, Oct 22, 2009 at 8:57 AM, Karan <karan.bhatna...@gmail.com> wrote: >> >>> >>> Hi, >>> Out of the seven actions events listed at >>> http://code.google.com/apis/wave/extensions/robots >>> , which one can be used if a robot wants to perform some action when >>> the robot itself is added to a wave for the first time? >>> >>> I want to avoid pinging the robot after adding it. >>> >>> >>> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to google-wave-api@googlegroups.com To unsubscribe from this group, send email to google-wave-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en -~----------~----~----~----~------~----~------~--~---