From 12c9cb1723c71d14bcc75a27995eff8754a8c530 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 29 May 2023 20:06:10 +0800 Subject: [PATCH] Filter out conversations with deleted statuses --- src/pages/mentions.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/mentions.jsx b/src/pages/mentions.jsx index 55c47c64..3e77f0f6 100644 --- a/src/pages/mentions.jsx +++ b/src/pages/mentions.jsx @@ -53,6 +53,7 @@ function Mentions(props) { } const results = await conversationsIterator.current.next(); let { value } = results; + value = value?.filter((item) => item.lastStatus); if (value?.length) { if (firstLoad) { latestConversationItem.current = value[0].lastStatus.id;