main
Bob Mottram 2023-05-12 18:13:33 +01:00
parent 60b1b8aef9
commit d2dd3ab54f
1 changed files with 1 additions and 0 deletions

View File

@ -4350,6 +4350,7 @@ def harmless_markup(post_json_object: {}) -> None:
def ap_proxy_type(json_object: {}) -> str:
"""Returns a string indicating the proxy for an activitypub post
or None if not proxied
See https://codeberg.org/fediverse/fep/src/branch/main/feps/fep-fffd.md
"""
if not json_object.get('proxyOf'):
return None