aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/notifier.php b/include/notifier.php
index ccac5106f..c3f7f33ea 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -361,6 +361,10 @@ function notifier_run($argv, $argc){
continue;
if($normal_mode) {
+
+ // we only need the current item, but include the parent because without it
+ // 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);
}