mirror of https://gitlab.com/bashrc2/epicyon
Remove unavailable link
parent
ffffba5e72
commit
a782f08b03
|
@ -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'):
|
||||
|
|
|
@ -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
|
||||
|
|
1
posts.py
1
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
|
||||
|
|
Loading…
Reference in New Issue