Let PresenceService._buddy_activities_changed see all joined activities, even invalid ones
This commit is contained in:
parent
51f56ed7a3
commit
60c9e0ecb8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user