From eaa85cb95196b4cb661c873eb64fec7bb44d56bd Mon Sep 17 00:00:00 2001 From: souliane Date: Mon, 20 Oct 2014 12:57:27 +0200 Subject: [PATCH] plugin sec_otr: a trigger was not returning True --- src/plugins/plugin_sec_otr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_sec_otr.py b/src/plugins/plugin_sec_otr.py index 81bfc251..d12b0cd5 100644 --- a/src/plugins/plugin_sec_otr.py +++ b/src/plugins/plugin_sec_otr.py @@ -473,7 +473,7 @@ class OTR(object): def presenceReceivedTrigger(self, entity, show, priority, statuses, profile): if show != "unavailable": - return + return True if not entity.resource: 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)