From c5ec736ed85ec7a72d450c0ad5d2ee36aed64e3d Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 12 Sep 2021 21:11:24 +0100 Subject: [PATCH] Getting actor for group handles --- person.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/person.py b/person.py index 19d2c7f7c..3a93612d7 100644 --- a/person.py +++ b/person.py @@ -1378,6 +1378,8 @@ def getActorJson(hostDomain: str, handle: str, http: bool, gnunet: bool, paths = getUserPaths() for userPath in paths: personUrl = personUrl.replace(userPath, '/actor/') + if not personUrl and groupAccount: + personUrl = httpPrefix + '://' + domain + '/c/' + nickname if not personUrl: # try single user instance personUrl = httpPrefix + '://' + domain + '/' + nickname