From 1047308fd54d22a46a2b0e00b0a37294bd872176 Mon Sep 17 00:00:00 2001 From: dan Date: Mon, 12 May 2025 16:14:17 +0100 Subject: [PATCH] plugin(fix): stop woof showing up in every chatbar (#259) made it only showup in real chatbar --- src/equicordplugins/woof/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/woof/index.tsx b/src/equicordplugins/woof/index.tsx index 06f1c2d6..7a06a715 100644 --- a/src/equicordplugins/woof/index.tsx +++ b/src/equicordplugins/woof/index.tsx @@ -14,7 +14,8 @@ async function handleButtonClick() { sendMessage(getCurrentChannel().id, { content: "woof" }); } -const ChatBarIcon: ChatBarButtonFactory = () => { +const ChatBarIcon: ChatBarButtonFactory = ({ isMainChat }) => { + if (!isMainChat) return null; return (