From 6c521017f5e58432d0eaadb90d0745fe7c4f1472 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 4 Oct 2011 22:03:57 -0700 Subject: [PATCH] document backward compat issue --- include/notifier.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/notifier.php b/include/notifier.php index ccac5106f5..c3f7f33ea1 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); }