From f5c5da742da1154c26277df7ff86eebea6ffe049 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 24 Feb 2012 20:03:13 -0800 Subject: attribution issue - don't take author name from contact if available from item. --- include/delivery.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/delivery.php') diff --git a/include/delivery.php b/include/delivery.php index 677d89388..cbf602a0b 100755 --- a/include/delivery.php +++ b/include/delivery.php @@ -272,10 +272,10 @@ function delivery_run($argv, $argc){ if($normal_mode) { if($item_id == $item['id'] || $item['id'] == $item['parent']) - $atom .= atom_entry($item,'text',$item_contact,$owner,true); + $atom .= atom_entry($item,'text',null,$owner,true); } else - $atom .= atom_entry($item,'text',$item_contact,$owner,true); + $atom .= atom_entry($item,'text',null,$owner,true); } @@ -363,7 +363,7 @@ function delivery_run($argv, $argc){ continue; if(($top_level) && ($public_message) && ($item['author-link'] === $item['owner-link']) && (! $expire)) - $slaps[] = atom_entry($item,'html',$item_contact,$owner,true); + $slaps[] = atom_entry($item,'html',null,$owner,true); } logger('notifier: slapdelivery: ' . $contact['name']); -- cgit v1.2.3