delete notification on whitelist check fail
This commit is contained in:
		| @ -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)) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user