core: fixed cache check on presence unavailable
This commit is contained in:
parent
939b6ba80b
commit
a8cc331dd5
1 changed files with 1 additions and 1 deletions
|
|
@ -396,7 +396,7 @@ class SatPresenceProtocol(xmppim.PresenceClientProtocol):
|
|||
# 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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue