plugin sec_otr: a trigger was not returning True
This commit is contained in:
parent
5be3ccbf38
commit
eaa85cb951
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ class OTR(object):
|
||||||
|
|
||||||
def presenceReceivedTrigger(self, entity, show, priority, statuses, profile):
|
def presenceReceivedTrigger(self, entity, show, priority, statuses, profile):
|
||||||
if show != "unavailable":
|
if show != "unavailable":
|
||||||
return
|
return True
|
||||||
if not entity.resource:
|
if not entity.resource:
|
||||||
entity.resource = self.host.memory.getLastResource(entity, profile) # FIXME: temporary and unsecure, must be changed when frontends are refactored
|
entity.resource = self.host.memory.getLastResource(entity, profile) # FIXME: temporary and unsecure, must be changed when frontends are refactored
|
||||||
otrctx = self.context_managers[profile].getContextForUser(entity)
|
otrctx = self.context_managers[profile].getContextForUser(entity)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue