Ignore invalid handles on avatar updates

This commit is contained in:
Dan Williams 2007-04-11 23:45:20 -04:00
parent 162a87f882
commit 3d6bff9278

View File

@ -463,6 +463,10 @@ class ServerPlugin(gobject.GObject):
# are handled locally # are handled locally
return return
if not self._online_contacts.has_key(handle):
logging.debug("Handle %s not valid yet...")
return
jid = self._online_contacts[handle] jid = self._online_contacts[handle]
if not jid: if not jid:
logging.debug("Handle %s not valid yet...") logging.debug("Handle %s not valid yet...")