diff options
author | Zach Prezkuta <fermion@gmx.com> | 2012-05-31 19:40:12 -0600 |
---|---|---|
committer | Zach Prezkuta <fermion@gmx.com> | 2012-06-03 14:53:29 -0600 |
commit | c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50 (patch) | |
tree | 0ed31d5a6de8c1f4abaaa509aa119a4704c955c4 /include/delivery.php | |
parent | 1fe1ac022f0755d73c62bac86f1b54fdbd6b50f5 (diff) | |
download | volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.tar.gz volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.tar.bz2 volse-hubzilla-c0af6dbb1a5507dcf0fffaf13b42cfd71b0d0c50.zip |
Implement relaying of relayable_retractions
Also: some whitespace cleanup, fix Diaspora parent DB query
Diffstat (limited to 'include/delivery.php')
-rw-r--r-- | include/delivery.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/delivery.php b/include/delivery.php index 0e40e3db7..62c9f9202 100644 --- a/include/delivery.php +++ b/include/delivery.php @@ -509,7 +509,7 @@ function delivery_run($argv, $argc){ // unsupported break; } - elseif(($target_item['deleted']) && ($target_item['verb'] !== ACTIVITY_LIKE)) { + elseif(($target_item['deleted']) && ($top_level) && ($target_item['verb'] !== ACTIVITY_LIKE)) { logger('delivery: diaspora retract: ' . $loc); // diaspora delete, diaspora_send_retraction($target_item,$owner,$contact,$public_message); @@ -519,7 +519,7 @@ function delivery_run($argv, $argc){ logger('delivery: diaspora relay: ' . $loc); - // we are the relay - send comments, likes and unlikes to our conversants + // we are the relay - send comments, likes, unlikes and relayable_retractions to our conversants diaspora_send_relay($target_item,$owner,$contact,$public_message); break; } |