main
Bob Mottram 2023-03-16 15:11:45 +00:00
parent f0de2cda22
commit a10d23cf2c
1 changed files with 2 additions and 0 deletions

View File

@ -1412,6 +1412,7 @@ def get_followers_sync_json(base_dir: str,
search_domain: str) -> {}: search_domain: str) -> {}:
"""Returns a response for followers synchronization """Returns a response for followers synchronization
See https://github.com/mastodon/mastodon/pull/14510 See https://github.com/mastodon/mastodon/pull/14510
https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-8fcf.md
""" """
sync_list = \ sync_list = \
_get_followers_for_domain(base_dir, _get_followers_for_domain(base_dir,
@ -1431,6 +1432,7 @@ def get_followers_sync_json(base_dir: str,
def get_followers_sync_hash(sync_json: {}) -> str: def get_followers_sync_hash(sync_json: {}) -> str:
"""Returns a hash used within the Collection-Synchronization http header """Returns a hash used within the Collection-Synchronization http header
See https://github.com/mastodon/mastodon/pull/14510 See https://github.com/mastodon/mastodon/pull/14510
https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-8fcf.md
""" """
if not sync_json: if not sync_json:
return None return None