Ignore unknown handles
This commit is contained in:
parent
d45e6dd1a6
commit
845734eb72
@ -122,6 +122,9 @@ class PresenceService(dbus.service.Object):
|
||||
logging.debug("Buddy left: %s (%s)" % (buddy.props.nick, buddy.props.color))
|
||||
|
||||
def _contact_offline(self, tp, handle):
|
||||
if not self._handles_buddies[tp].has_key(handle):
|
||||
return
|
||||
|
||||
buddy = self._handles_buddies[tp].pop(handle)
|
||||
key = buddy.props.key
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user