From e8209d1fc7dbbda790e60d9dccacbdeb1382e73b Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 3 Nov 2025 08:20:40 -0500 Subject: [PATCH] Boo: Fix count not going down --- src/equicordplugins/boo/Boo.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/equicordplugins/boo/Boo.tsx b/src/equicordplugins/boo/Boo.tsx index daca2fd5a..2ccb37f00 100644 --- a/src/equicordplugins/boo/Boo.tsx +++ b/src/equicordplugins/boo/Boo.tsx @@ -43,6 +43,11 @@ export function Boo({ channel }: { channel: Channel; }) { }); }, [lastMessage, currentUserId]); + if (countedChannels.has(id) && state.isCurrentUser) { + countedChannels.delete(id); + booCount--; + } + if (!state.isDataProcessed || !currentUserId || !lastMessage || state.isCurrentUser) return null; if (!countedChannels.has(id)) {