# HG changeset patch # User Goffi # Date 1448615723 -3600 # Node ID 772c8edd1057d8c959c25678be731b0c49c2a9b1 # Parent a40124e03bafb0e12bc0e3d3ae8dac080602c5c8 core: fixed cache check on presence unavailable diff -r a40124e03baf -r 772c8edd1057 src/core/xmpp.py --- a/src/core/xmpp.py Thu Nov 26 17:00:18 2015 +0100 +++ b/src/core/xmpp.py Fri Nov 27 10:15:23 2015 +0100 @@ -396,7 +396,7 @@ # if the entity is not known yet in this session or is already unavailable, there is no need to send an unavailable signal try: presence = self.host.memory.getEntityDatum(entity, "presence", self.parent.profile) - except KeyError: + except (KeyError, exceptions.UnknownEntityError): # the entity has not been seen yet in this session pass else: