From 85fd01468b693f79759414aed5bb2cf19c9e9a1c Mon Sep 17 00:00:00 2001 From: Mariusz Krzaczkowski Date: Wed, 2 Feb 2022 08:06:36 +0100 Subject: [PATCH] 0.2.10 Fixed RBL integration --- plugins/yetiforce/yetiforce.php | 4 +++- version.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/yetiforce/yetiforce.php b/plugins/yetiforce/yetiforce.php index 68fef6ed..2bdcf3e1 100644 --- a/plugins/yetiforce/yetiforce.php +++ b/plugins/yetiforce/yetiforce.php @@ -118,7 +118,9 @@ public function init() $this->include_stylesheet('preview.css'); $this->add_hook('template_object_messageattachments', [$this, 'appendIcsPreview']); - $this->add_hook('template_object_messagesummary', [$this, 'messageSummary']); + if (\App\Config::component('Mail', 'rcDetailCheckRbl', false)) { + $this->add_hook('template_object_messagesummary', [$this, 'messageSummary']); + } $this->add_hook('message_load', [$this, 'message_load']); $this->add_button([ diff --git a/version.php b/version.php index 256a3ca6..d389dc7e 100644 --- a/version.php +++ b/version.php @@ -1,6 +1,6 @@ '2022.01.04', - 'version' => '0.2.9', + 'patch' => '2022.02.02', + 'version' => '0.2.10', ];