document backward compat issue

This commit is contained in:
Friendika 2011-10-04 22:03:57 -07:00
parent ab50521971
commit 6c521017f5
1 changed files with 4 additions and 0 deletions

View File

@ -361,6 +361,10 @@ function notifier_run($argv, $argc){
continue; continue;
if($normal_mode) { 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']) if($item_id == $item['id'] || $item['id'] == $item['parent'])
$atom .= atom_entry($item,'text',$contact,$owner,true); $atom .= atom_entry($item,'text',$contact,$owner,true);
} }