From b297e390f7f2ed02bf997b1846549f7032da8f5a Mon Sep 17 00:00:00 2001 From: Shawn Grigson Date: Sun, 10 Sep 2023 17:29:57 -0500 Subject: [PATCH] remove import fields update --- src/fediblockhole/__init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/fediblockhole/__init__.py b/src/fediblockhole/__init__.py index bfac6fd..ce805cf 100755 --- a/src/fediblockhole/__init__.py +++ b/src/fediblockhole/__init__.py @@ -576,10 +576,6 @@ def push_blocklist(token: str, host: str, blocklist: list[DomainBlock], # Force use of the admin API, and add 'id' to the list of fields if 'id' not in import_fields: import_fields.append('id') - - # if we're overriding the private comment, we need to include it in the import - if override_private_comment: - import_fields.append('private_comment') serverblocks = fetch_instance_blocklist(host, token, True, import_fields, scheme) # # Convert serverblocks to a dictionary keyed by domain name