aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-10 13:56:31 -0700
committerfriendica <info@friendica.com>2014-10-10 13:56:31 -0700
commit5bfde822584b5432a75497afea55af6d0a74472a (patch)
treef271372ab99ba53d1a86fee4ed3ad88e4822fc35
parentcde244ef74eba47749f910b09b23f92862907eda (diff)
downloadvolse-hubzilla-5bfde822584b5432a75497afea55af6d0a74472a.tar.gz
volse-hubzilla-5bfde822584b5432a75497afea55af6d0a74472a.tar.bz2
volse-hubzilla-5bfde822584b5432a75497afea55af6d0a74472a.zip
make sure diaspora comments get the correct route
-rwxr-xr-xinclude/diaspora.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index d288e1435..a16c4e0ae 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -2446,6 +2446,10 @@ function diaspora_send_followup($item,$owner,$contact,$public_batch = false) {
else
return;
+ // set the route to that of the parent so downstream hubs won't reject it.
+
+ $item['route'] = $parent['route'];
+
if(($item['verb'] === ACTIVITY_LIKE) && ($parent['mid'] === $parent['parent_mid'])) {
$tpl = get_markup_template('diaspora_like.tpl');
$like = true;