# HG changeset patch # User souliane # Date 1413802647 -7200 # Node ID 3be9d8ab2e159198da06846d550a5f99fe5df60b # Parent 77a4592816f627f1cb6f834786562c2cff371e91 plugin sec_otr: a trigger was not returning True diff -r 77a4592816f6 -r 3be9d8ab2e15 src/plugins/plugin_sec_otr.py --- a/src/plugins/plugin_sec_otr.py Sun Oct 19 15:25:04 2014 +0200 +++ b/src/plugins/plugin_sec_otr.py Mon Oct 20 12:57:27 2014 +0200 @@ -473,7 +473,7 @@ 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)