Current activity has its own signal now
This commit is contained in:
parent
ad5110f8df
commit
5b20b05cc8
@ -216,10 +216,6 @@ class PresenceService(dbus.service.Object):
|
|||||||
if not activity.get_joined_buddies():
|
if not activity.get_joined_buddies():
|
||||||
self._remove_activity(activity)
|
self._remove_activity(activity)
|
||||||
|
|
||||||
# current activity
|
|
||||||
if len(activities) > 0:
|
|
||||||
buddy.set_properties({'current-activity':activities[0]})
|
|
||||||
|
|
||||||
def _activity_invitation(self, tp, act_id):
|
def _activity_invitation(self, tp, act_id):
|
||||||
activity = self._activities.get(act_id)
|
activity = self._activities.get(act_id)
|
||||||
if activity:
|
if activity:
|
||||||
|
Loading…
Reference in New Issue
Block a user