From fd9ae03a1a435e3076f7fa21436df4173439fe1a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 27 Oct 2021 21:26:34 +0100 Subject: [PATCH] Revert to original --- webapp_profile.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index d1518456b..34d1646c2 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -311,18 +311,7 @@ def htmlProfileAfterSearch(cssCache: {}, if not item.get('actor'): continue if not isAnnouncedFeedItem and item['actor'] != personUrl: - # if the actor is different then check the cc field - if not item.get('cc'): - continue - if not isinstance(item['cc'], list): - 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'] = [] + continue profileStr += \ individualPostAsHtml(signingPrivateKeyPem,