Replies bugfix

This commit is contained in:
Daisuke 2020-04-23 11:59:48 -05:00
parent f1a4636a5a
commit 16e39ffbe8

View File

@ -850,7 +850,7 @@ function timeline($query) {
$thread[] = $elem; $thread[] = $elem;
} }
else { else {
if ($elem['in_reply_to_id'] == null) { if ($elem['in_reply_to_id'] == null || $elem['in_reply_to_account_id'] == $query['uid']) {
$thread[] = $elem; $thread[] = $elem;
} else { } else {
$rel = api_get("accounts/relationships?id=" . $elem['in_reply_to_account_id']); $rel = api_get("accounts/relationships?id=" . $elem['in_reply_to_account_id']);