From: Michael Date: Sat, 8 May 2021 19:26:57 +0000 (+0000) Subject: Some more formatting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b4298b0f8ed6497b2648ecf62758e535e4159f9;hp=cce0d0c21b278605d5e4cafec1884bbfd5919c81;p=friendica.git Some more formatting --- diff --git a/src/Module/Api/Mastodon/Statuses/Context.php b/src/Module/Api/Mastodon/Statuses/Context.php index d64b4d24cf..2b06f9db3b 100644 --- a/src/Module/Api/Mastodon/Statuses/Context.php +++ b/src/Module/Api/Mastodon/Statuses/Context.php @@ -79,6 +79,7 @@ class Context extends BaseApi { if (!empty($parents[$id])) { $list[] = $parents[$id]; + $list = self::getParents($parents[$id], $parents, $list); } return $list; @@ -89,6 +90,7 @@ class Context extends BaseApi if (!empty($children[$id])) { foreach ($children[$id] as $child) { $list[] = $child; + $list = self::getChildren($child, $children, $list); } }