Switch actor with cc if needed

merge-requests/30/head
Bob Mottram 2021-10-27 21:20:37 +01:00
parent 7cd0d969b5
commit 6716ebfe78
1 changed files with 5 additions and 0 deletions

View File

@ -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,