aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-30 19:02:11 -0700
committerFriendika <info@friendika.com>2011-06-30 19:02:11 -0700
commitcdddfca0b5971d2437eee09ad6985f3df5ae5bfd (patch)
treed8caf30b951159cce76c041a20352138621fc446 /include
parent9aeccaaa9ef7f3569149bb7c9aae56e7f8b5f514 (diff)
downloadvolse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.tar.gz
volse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.tar.bz2
volse-hubzilla-cdddfca0b5971d2437eee09ad6985f3df5ae5bfd.zip
photos were not working in private mail
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 4b97311f6..9c194d962 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -238,6 +238,8 @@ function notifier_run($argv, $argc){
if($cmd === 'mail') {
$notify_hub = false; // mail is not public
+ $body = fix_private_photos($item['body'],$owner['uid']);
+
$atom .= replace_macros($mail_template, array(
'$name' => xmlify($owner['name']),
'$profile_page' => xmlify($owner['url']),
@@ -245,7 +247,7 @@ function notifier_run($argv, $argc){
'$item_id' => xmlify($item['uri']),
'$subject' => xmlify($item['title']),
'$created' => xmlify(datetime_convert('UTC', 'UTC', $item['created'] . '+00:00' , ATOM_TIME)),
- '$content' => xmlify($item['body']),
+ '$content' => xmlify($body),
'$parent_id' => xmlify($item['parent-uri'])
));
}