From 6716ebfe78cc14d94272bc115ad0b9fb4d32f1bb Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Oct 2021 21:20:37 +0100 Subject: [PATCH] Switch actor with cc if needed --- webapp_profile.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp_profile.py b/webapp_profile.py index 8c9f28555..d1518456b 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -318,6 +318,11 @@ def htmlProfileAfterSearch(cssCache: {}, continue if personUrl not in item['cc']: continue + # switch actor with cc + item['actor'] = item['cc'] + item['object']['actor'] = item['cc'] + item['cc'] = [] + item['object']['cc'] = [] profileStr += \ individualPostAsHtml(signingPrivateKeyPem,