forked from friendica/friendica-addons
Compare commits
2 commits
develop
...
2024.09-rc
Author | SHA1 | Date | |
---|---|---|---|
Tobias Diekershoff | 10bd219bd1 | ||
Michael | 08c17c9dd4 |
|
@ -1617,7 +1617,7 @@ function bluesky_fetch_parents(stdClass $parent, int $uid, array $parents = []):
|
||||||
$parents = bluesky_fetch_parents($parent->parent, $uid, $parents);
|
$parents = bluesky_fetch_parents($parent->parent, $uid, $parents);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty(bluesky_fetch_post(bluesky_get_uri($parent->post), $uid))) {
|
if (!empty($parent->post) && empty(bluesky_fetch_post(bluesky_get_uri($parent->post), $uid))) {
|
||||||
$parents[] = $parent->post;
|
$parents[] = $parent->post;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue