Mercurial > libervia-backend
diff src/core/xmpp.py @ 1690:772c8edd1057
core: fixed cache check on presence unavailable
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2015 10:15:23 +0100 |
parents | 43a127b6a4f2 |
children | 4308bca92922 |
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: