From 71ae54930c65ab7bf533c6b6e8bf211f1fbca2d5 Mon Sep 17 00:00:00 2001 From: matty Date: Mon, 7 Jul 2025 01:15:17 +0000 Subject: [PATCH] change response visibility logic --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 04ffda8..2fc50da 100644 --- a/src/main.ts +++ b/src/main.ts @@ -55,7 +55,7 @@ const generateOllamaRequest = async ( striptags(notification.status.content).includes("!prompt") && !notification.status.account.bot && // sanity check, sort of notification.type === "mention" && - notification.status.visibility === "public" // for safety, let's only respond to public messages + notification.status.visibility !== "private" // for safety, let's only respond to public messages ) { if (whitelistOnly && !isFromWhitelistedDomain(notification)) { return;