diff --git a/src/main.ts b/src/main.ts index 580ae69..d3d1c7c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,6 +63,7 @@ const generateOllamaRequest = async ( notification.status.visibility !== "private" // for safety, let's only respond to public messages ) { if (whitelistOnly && !isFromWhitelistedDomain(notification)) { + await deleteNotification(notification); return; } if (await alreadyRespondedTo(notification)) {