Infolog: Use infolog owner as sender of notifications

(cherry picked from commit c9c9f28851)
This commit is contained in:
nathangray 2021-06-08 10:24:25 -06:00
parent 1bed2d2df6
commit 6993d82abf

View File

@ -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'])