Whitelist fix

This commit is contained in:
w 2025-05-22 00:20:32 -03:00
parent e53bd87d81
commit ff20e26821

View file

@ -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)