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', ];