forked from waifu/kemoverse
Whitelist fix
This commit is contained in:
parent
e53bd87d81
commit
ff20e26821
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ def process_notification(client, notification):
|
||||||
|
|
||||||
if not (instance in WHITELISTED_INSTANCES or instance == 'local'):
|
if not (instance in WHITELISTED_INSTANCES or instance == 'local'):
|
||||||
print(f'⚠️ Blocked notification from untrusted instance: {instance}')
|
print(f'⚠️ Blocked notification from untrusted instance: {instance}')
|
||||||
|
return
|
||||||
|
|
||||||
# Copy visibility of the post that was received when replying (so if people
|
# 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)
|
# don't want to dump a bunch of notes on home they don't have to)
|
||||||
|
|
Loading…
Add table
Reference in a new issue