From ddcbef28480b24434133f041f0584cfd8bf0a25a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 20 Aug 2019 14:52:14 +0100 Subject: [PATCH] Don't require actor --- webinterface.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/webinterface.py b/webinterface.py index e09f02c1b..b25dc0d4f 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1042,9 +1042,6 @@ def individualPostAsHtml(baseDir: str, \ actorDomain,actorPort=getDomainFromActor(postJsonObject['actor']) announcedJson = getJson(session,postJsonObject['object'],asHeader,None,projectVersion,httpPrefix,domain) if announcedJson: - if not announcedJson.get('actor'): - pprint(announcedJson) - return '' if not announcedJson.get('type'): pprint(announcedJson) return ''