I came across the problem there I needed to see who modified a blip,
here's a solution, but is there another way?

#def OnBlipSubmitted(properties, context):
#~~~~~ change every handler from properties to event

def OnBlipSubmitted(event, context):
  blip = context.GetBlipById(event.properties['blipId'])
  modifiedBy  = event.modifiedBy

if robot_abstract.py: change

  def HandleEvent(self, event, context):
    """Calls all of the handlers associated with an event."""
    for handler in self._handlers.get(event.type, []):
      # TODO(jacobly): pass the event in to the handlers directly
      # instead of passing the properties dictionary.
      #handler(event.properties, context) ~~~~~~~~~ change this
      handler(event, context)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to