aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/server.py b/server.py
index c76b0e7..a0f2395 100644
--- a/server.py
+++ b/server.py
@@ -88,7 +88,6 @@ class fuwuqi(SimpleHTTPRequestHandler):
actor = keyid.removesuffix('#main-key')
if ('actor' in activity and activity['actor'] != actor) or \
('attributedTo' in activity and activity['attributedTo'] != actor) or \
- ('actor' in activity['object'] and activity['object']['actor'] != actor) or \
('attributedTo' in activity['object'] and activity['object']['attributedTo'] != actor):
self.send_response(401)
return