I messed up... back to actually remove the service

This commit is contained in:
Marco Pesenti Gritti 2006-09-12 13:26:51 +02:00
parent 53f7cc1f34
commit 8ebb57d985

View File

@ -548,8 +548,8 @@ class PresenceService(object):
except KeyError:
pass
else:
if not buddy.is_valid():
buddy.remove_service(service)
if not buddy.is_valid():
self._dbus_helper.BuddyDisappeared(buddy.object_path())
del self._buddies[buddy_name]
key = (service.get_full_name(), service.get_type())