Sorry for spamming, Just FYI...Event.getAddedParticipants() helped in deciding it.
On Fri, Oct 23, 2009 at 5:14 PM, Karan Bhatnagar <[email protected]>wrote: > RobotMessageBundle.wasSelfAdded() is returning true each time. > > > On Fri, Oct 23, 2009 at 4:53 PM, Karan Bhatnagar < > [email protected]> wrote: > >> EventType.WAVELET_SELF_ADDED is being triggered if I add >> [email protected]. It is again triggered if I add >> [email protected] <robotname%[email protected]>. 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) < >> [email protected]> 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 <[email protected]>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 [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 -~----------~----~----~----~------~----~------~--~---
