From 16e39ffbe8fb583f6b8842a88976cfc6cc16d876 Mon Sep 17 00:00:00 2001 From: Daisuke Date: Thu, 23 Apr 2020 11:59:48 -0500 Subject: [PATCH] Replies bugfix --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index a7d531b..f923c9a 100644 --- a/include/functions.php +++ b/include/functions.php @@ -850,7 +850,7 @@ function timeline($query) { $thread[] = $elem; } 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; } else { $rel = api_get("accounts/relationships?id=" . $elem['in_reply_to_account_id']);