Mercurial > libervia-backend
changeset 1690:772c8edd1057
core: fixed cache check on presence unavailable
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2015 10:15:23 +0100 |
parents | a40124e03baf |
children | cec204c6360c |
files | src/core/xmpp.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: