diff --git a/daemon_get.py b/daemon_get.py index 38ae29488..f534be124 100644 --- a/daemon_get.py +++ b/daemon_get.py @@ -466,7 +466,7 @@ def daemon_http_get(self) -> None: self.server.debug) # followers synchronization request - # See https://github.com/mastodon/mastodon/pull/1.6.0 + # See # https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-8fcf.md if self.path.startswith('/users/') and \ self.path.endswith('/followers_synchronization'): diff --git a/followerSync.py b/followerSync.py index a3dbd2e73..137533c88 100644 --- a/followerSync.py +++ b/followerSync.py @@ -88,7 +88,7 @@ def _get_followers_sync_json(base_dir: str, http_prefix: str, domain_full: str, search_domain: str) -> {}: """Returns a response for followers synchronization - See https://github.com/mastodon/mastodon/pull/1.6.0 + See https://codeberg.org/fediverse/fep/src/branch/main/fep/8fcf/fep-8fcf.md """ sync_list = \ @@ -111,7 +111,7 @@ def _get_followers_sync_json(base_dir: str, def get_followers_sync_hash(sync_json: {}) -> str: """Returns a hash used within the Collection-Synchronization http header - See https://github.com/mastodon/mastodon/pull/1.6.0 + See https://codeberg.org/fediverse/fep/src/branch/main/fep/8fcf/fep-8fcf.md """ if not sync_json: @@ -139,7 +139,6 @@ def update_followers_sync_cache(base_dir: str, calling_domain: str, sync_cache: {}) -> ({}, str): """Updates the followers synchronization cache - See https://github.com/mastodon/mastodon/pull/1.6.0 https://codeberg.org/fediverse/fep/src/branch/main/fep/8fcf/fep-8fcf.md """ foll_sync_key = nickname + ':' + calling_domain diff --git a/posts.py b/posts.py index 6a5eeda65..1f574e866 100644 --- a/posts.py +++ b/posts.py @@ -4002,7 +4002,6 @@ def _send_to_named_addresses(server, session, session_onion, session_i2p, extra_headers = {} # followers synchronization header - # See https://github.com/mastodon/mastodon/pull/1.6.0 # https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-8fcf.md sending_actor = \ from_http_prefix + '://' + from_domain_full + '/users/' + nickname