DFRN: Mails had an empty body

This commit is contained in:
Michael Vogel 2016-01-23 13:18:18 +01:00
parent 444b417de0
commit 2bb3c1aec8

View file

@ -280,7 +280,7 @@ function delivery_run(&$argv, &$argc){
logger('notifier: '.$target_item["guid"].' dfrndelivery: ' . $contact['name']); logger('notifier: '.$target_item["guid"].' dfrndelivery: ' . $contact['name']);
if ($mail) { if ($mail) {
$item["body"] = $body; $item['body'] = fix_private_photos($item['body'],$owner['uid'],null,$message[0]['contact-id']);
$atom = dfrn_mail($item, $owner); $atom = dfrn_mail($item, $owner);
} elseif ($fsuggest) { } elseif ($fsuggest) {
$atom = dfrn_fsuggest($item, $owner); $atom = dfrn_fsuggest($item, $owner);