From 3acaac2d471637a5e973f8dde5650a4c47ca09c4 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 20 May 2023 01:19:25 +0800 Subject: [PATCH] Check missing status with hero status too --- src/pages/status.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/status.jsx b/src/pages/status.jsx index 18d5a1c0..a681b55e 100644 --- a/src/pages/status.jsx +++ b/src/pages/status.jsx @@ -271,7 +271,8 @@ function StatusThread({ id, closeLink = '/', instance: propInstance }) { if ( status.inReplyToId && - !descendants.find((s) => s.id === status.inReplyToId) + !descendants.find((s) => s.id === status.inReplyToId) && + status.inReplyToId !== heroStatus.id ) { missingStatuses.add(status.inReplyToId); }