Remove unavailable link

merge-requests/30/head
Bob Mottram 2024-12-22 23:41:48 +00:00
parent ffffba5e72
commit a782f08b03
3 changed files with 3 additions and 5 deletions

View File

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

View File

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

View File

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