Let PresenceService._buddy_activities_changed see all joined activities, even invalid ones

This commit is contained in:
Dan Williams 2007-04-21 19:20:06 -04:00
parent 51f56ed7a3
commit 60c9e0ecb8

View File

@ -235,6 +235,7 @@ class Buddy(DBusGObject):
"""
acts = []
for act in self.get_joined_activities():
if act.props.valid:
acts.append(act.object_path())
return acts
@ -313,7 +314,6 @@ class Buddy(DBusGObject):
"""Retrieves list of still-valid activity objects"""
acts = []
for act in self._activities.values():
if act.props.valid:
acts.append(act)
return acts