I messed up... back to actually remove the service
This commit is contained in:
parent
53f7cc1f34
commit
8ebb57d985
@ -548,8 +548,8 @@ class PresenceService(object):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
buddy.remove_service(service)
|
||||||
if not buddy.is_valid():
|
if not buddy.is_valid():
|
||||||
buddy.remove_service(service)
|
|
||||||
self._dbus_helper.BuddyDisappeared(buddy.object_path())
|
self._dbus_helper.BuddyDisappeared(buddy.object_path())
|
||||||
del self._buddies[buddy_name]
|
del self._buddies[buddy_name]
|
||||||
key = (service.get_full_name(), service.get_type())
|
key = (service.get_full_name(), service.get_type())
|
||||||
|
Loading…
Reference in New Issue
Block a user