Changes

no edit summary
Line 11: Line 11:     
Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity.
 
Is fired when the properties contained in org.laptop.Telepathy.ActivityProperties stop being all non-None, and when the last buddy leaves the activity.
 +
 +
A buddy is known to have left an activity when disappears (see BuddyDisappeared) and when the MembersChanged signal in org.freedesktop.Telepathy.Channel.Interface.Group says so.
    
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
Line 18: Line 20:  
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="o")
 
  def BuddyDisappeared(self, buddy):
 
  def BuddyDisappeared(self, buddy):
    pass
+
 
 +
A buddy is known to have disappeared when PresenceUpdate notifies us it has gone offline.
    
  @dbus.service.signal(PRESENCE_INTERFACE, signature="oos")
 
  @dbus.service.signal(PRESENCE_INTERFACE, signature="oos")
647

edits