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)