Blocking handles

merge-requests/30/head
Bob Mottram 2024-02-11 17:50:27 +00:00
parent f10112d174
commit b638d9623d
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ def is_blocked(base_dir: str, nickname: str, domain: str,
# instance level block list
if block_federated:
for blocked_str in block_federated:
if '@' in blocked_str:
if '@' in blocked_str or '://' in blocked_str:
if block_handle:
if blocked_str == block_handle:
return True