aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-24 20:03:13 -0800
committerfriendica <info@friendica.com>2012-02-24 20:03:13 -0800
commitf5c5da742da1154c26277df7ff86eebea6ffe049 (patch)
treed58a541eb7a0a25a6a0771194b339a16e628f75b /include/notifier.php
parentb95e3ac496b48e1e515d87a3dfadb46ce0977d3d (diff)
downloadvolse-hubzilla-f5c5da742da1154c26277df7ff86eebea6ffe049.tar.gz
volse-hubzilla-f5c5da742da1154c26277df7ff86eebea6ffe049.tar.bz2
volse-hubzilla-f5c5da742da1154c26277df7ff86eebea6ffe049.zip
attribution issue - don't take author name from contact if available from item.
Diffstat (limited to 'include/notifier.php')
-rwxr-xr-xinclude/notifier.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 37bc6dae5..8ec625286 100755
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -382,8 +382,8 @@ function notifier_run($argv, $argc){
continue;
if($item['id'] == $item_id) {
logger('notifier: followup: item: ' . print_r($item,true), LOGGER_DATA);
- $slap = atom_entry($item,'html',$owner,$owner,false);
- $atom .= atom_entry($item,'text',$owner,$owner,false);
+ $slap = atom_entry($item,'html',null,$owner,false);
+ $atom .= atom_entry($item,'text',null,$owner,false);
}
}
}
@@ -410,13 +410,13 @@ function notifier_run($argv, $argc){
// older sites without a corresponding dfrn_notify change may do the wrong thing.
if($item_id == $item['id'] || $item['id'] == $item['parent'])
- $atom .= atom_entry($item,'text',$contact,$owner,true);
+ $atom .= atom_entry($item,'text',null,$owner,true);
}
else
- $atom .= atom_entry($item,'text',$contact,$owner,true);
+ $atom .= atom_entry($item,'text',null,$owner,true);
if(($top_level) && ($public_message) && ($item['author-link'] === $item['owner-link']) && (! $expire))
- $slaps[] = atom_entry($item,'html',$contact,$owner,true);
+ $slaps[] = atom_entry($item,'html',null,$owner,true);
}
}
}