Infolog: Use infolog owner as sender of notifications

This commit is contained in:
nathangray 2021-06-08 10:24:25 -06:00
parent 7d15c2f352
commit c9c9f28851

View File

@ -323,6 +323,10 @@ class infolog_tracking extends Api\Storage\Tracking
unset($old); // not used, but required function signature unset($old); // not used, but required function signature
switch($name) switch($name)
{ {
case 'sender':
// Use infolog owner as the notification sender
$config = $data['info_owner'];
break;
case 'copy': // include the info_cc addresses case 'copy': // include the info_cc addresses
if ($data['info_access'] == 'private') return array(); // no copies for private entries if ($data['info_access'] == 'private') return array(); // no copies for private entries
if ($data['info_cc']) if ($data['info_cc'])