]> git.mxchange.org Git - friendica.git/blobdiff - include/delivery.php
PuSH: Publishing moved to a new process. OStatus comments are now published to all...
[friendica.git] / include / delivery.php
index e3e477bf64faba63201ac7d160f7074417b624c4..fbbf7843f688be80188f819e7bdb0f07828f27d6 100644 (file)
@@ -388,7 +388,7 @@ function delivery_run(&$argv, &$argc){
                                                        continue;
 
                                                // For OStatus don't notify all contacts in the thread
-                                               if (!$top_level AND ($parent["network"] == NETWORK_OSTATUS) AND ($item["id"] != $item["parent"]))
+                                               if (!$top_level AND ($parent["network"] == NETWORK_OSTATUS) AND ($item["id"] != $item_id))
                                                        continue;
 
                                                if(($top_level OR ($parent["network"] == NETWORK_OSTATUS)) && ($public_message) && ($item['author-link'] === $item['owner-link']) && (! $expire))