From feb5d9b74fa1e8454eaaf29afae3643c6d7c81f1 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Fri, 11 Nov 2022 22:02:43 -0700 Subject: Got up to incoming posts working --- users/views/identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/views') diff --git a/users/views/identity.py b/users/views/identity.py index 0aed7fa..6205145 100644 --- a/users/views/identity.py +++ b/users/views/identity.py @@ -222,7 +222,7 @@ class Inbox(View): # Find the Identity by the actor on the incoming item # This ensures that the signature used for the headers matches the actor # described in the payload. - identity = Identity.by_actor_uri_with_create(document["actor"]) + identity = Identity.by_actor_uri(document["actor"], create=True) if not identity.public_key: # See if we can fetch it right now async_to_sync(identity.fetch_actor)() -- cgit v1.2.3