diff --git a/services/presence/server_plugin.py b/services/presence/server_plugin.py index 1d65a5e2..dcf49500 100644 --- a/services/presence/server_plugin.py +++ b/services/presence/server_plugin.py @@ -463,6 +463,10 @@ class ServerPlugin(gobject.GObject): # are handled locally return + if not self._online_contacts.has_key(handle): + logging.debug("Handle %s not valid yet...") + return + jid = self._online_contacts[handle] if not jid: logging.debug("Handle %s not valid yet...")