Replies bugfix
This commit is contained in:
parent
f1a4636a5a
commit
16e39ffbe8
@ -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']);
|
||||||
|
Loading…
Reference in New Issue
Block a user