From 6993d82abfeb00583f2275164b0a397659eeae50 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 8 Jun 2021 10:24:25 -0600 Subject: [PATCH] Infolog: Use infolog owner as sender of notifications (cherry picked from commit c9c9f28851268cf7dfc5928b03f92325d9e40fd0) --- infolog/inc/class.infolog_tracking.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index d0d371daff..69c3a810c0 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -323,6 +323,10 @@ class infolog_tracking extends Api\Storage\Tracking unset($old); // not used, but required function signature switch($name) { + case 'sender': + // Use infolog owner as the notification sender + $config = $data['info_owner']; + break; case 'copy': // include the info_cc addresses if ($data['info_access'] == 'private') return array(); // no copies for private entries if ($data['info_cc'])