PuSH: Publishing moved to a new process. OStatus comments are now published to all subscribers.

This commit is contained in:
Michael Vogel
2015-05-30 20:47:53 +02:00
parent 594f3e2815
commit e66489d67f
6 changed files with 184 additions and 100 deletions

View 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))