From ff20e2682148b2fa0cfd80c4fb029332185ca1bb Mon Sep 17 00:00:00 2001 From: w Date: Thu, 22 May 2025 00:20:32 -0300 Subject: [PATCH] Whitelist fix --- bot/notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/notification.py b/bot/notification.py index 71ec814..e0ae020 100644 --- a/bot/notification.py +++ b/bot/notification.py @@ -19,6 +19,7 @@ def process_notification(client, notification): if not (instance in WHITELISTED_INSTANCES or instance == 'local'): print(f'⚠️ Blocked notification from untrusted instance: {instance}') + return # Copy visibility of the post that was received when replying (so if people # don't want to dump a bunch of notes on home they don't have to)