aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-04 22:03:57 -0700
committerFriendika <info@friendika.com>2011-10-04 22:03:57 -0700
commit6c521017f5e58432d0eaadb90d0745fe7c4f1472 (patch)
tree47240fbdee30af01a5fa470f5d870660130ffa74
parentab5052197137b1fbf069f3791c75d6163c569bc0 (diff)
downloadvolse-hubzilla-6c521017f5e58432d0eaadb90d0745fe7c4f1472.tar.gz
volse-hubzilla-6c521017f5e58432d0eaadb90d0745fe7c4f1472.tar.bz2
volse-hubzilla-6c521017f5e58432d0eaadb90d0745fe7c4f1472.zip
document backward compat issue
-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);
}