From 5bfde822584b5432a75497afea55af6d0a74472a Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 10 Oct 2014 13:56:31 -0700 Subject: make sure diaspora comments get the correct route --- include/diaspora.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/diaspora.php') 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; -- cgit v1.2.3