Getting instance actor file

merge-requests/30/head
Bob Mottram 2022-02-04 17:34:00 +00:00
parent 800464d895
commit 8538b28b7d
1 changed files with 2 additions and 0 deletions

View File

@ -718,6 +718,8 @@ def load_json_onionify(filename: str, domain: str, onion_domain: str,
"""Makes a few attempts to load a json formatted file """Makes a few attempts to load a json formatted file
This also converts the domain name to the onion domain This also converts the domain name to the onion domain
""" """
if '/Actor@' in filename:
filename = filename.replace('/Actor@', '/inbox@')
json_object = None json_object = None
tries = 0 tries = 0
while tries < 5: while tries < 5: