mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
photos were not working in private mail
This commit is contained in:
parent
9aeccaaa9e
commit
cdddfca0b5
4 changed files with 13 additions and 4 deletions
|
@ -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'])
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue