diff options
author | friendica <info@friendica.com> | 2012-05-27 21:01:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-27 21:01:58 -0700 |
commit | 2bd1004587fc8d928b9458b2383b656df115578c (patch) | |
tree | a41cbc9032e4bff8872ced3683ded42af0e5da0d /include/notifier.php | |
parent | 08941d42856984a3076e972804ac016400341f91 (diff) | |
download | volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.gz volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.tar.bz2 volse-hubzilla-2bd1004587fc8d928b9458b2383b656df115578c.zip |
rework the way private photos are embedded to avoid url differences and also check the permissions if possible to make sure that nothing sneaks by.
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index cb4fb2a31..070e7a436 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -345,7 +345,7 @@ function notifier_run($argv, $argc){ if($mail) { $public_message = false; // mail is not public - $body = fix_private_photos($item['body'],$owner['uid']); + $body = fix_private_photos($item['body'],$owner['uid'],null,$message[0]['contact-id']); $atom .= replace_macros($mail_template, array( '$name' => xmlify($owner['name']), |