]> git.mxchange.org Git - friendica.git/commitdiff
document backward compat issue
authorFriendika <info@friendika.com>
Wed, 5 Oct 2011 05:03:57 +0000 (22:03 -0700)
committerFriendika <info@friendika.com>
Wed, 5 Oct 2011 05:03:57 +0000 (22:03 -0700)
include/notifier.php

index ccac5106f5a322cec354be7f4bff192ba91c9dab..c3f7f33ea1566e21d1b292ff62de8c3a0de06df1 100644 (file)
@@ -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);
                                }