From 8538b28b7debb43fe89ab32f0088a6e5db6e809c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 4 Feb 2022 17:34:00 +0000 Subject: [PATCH] Getting instance actor file --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index add6b09af..5b7064ada 100644 --- a/utils.py +++ b/utils.py @@ -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 This also converts the domain name to the onion domain """ + if '/Actor@' in filename: + filename = filename.replace('/Actor@', '/inbox@') json_object = None tries = 0 while tries < 5: