From 863ce32cda9d769f8698c8a7c5ed95382be62658 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 15 Sep 2019 11:48:58 +0100 Subject: [PATCH] load user inbox before trying to access it --- modules/fediverse/ap_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fediverse/ap_server.py b/modules/fediverse/ap_server.py index 74fa3247..e16167f4 100644 --- a/modules/fediverse/ap_server.py +++ b/modules/fediverse/ap_server.py @@ -189,6 +189,7 @@ class Server(object): private_key = self._private_key(key_id) actor = ap_actor.Actor(new_follower) + actor.load() accept = ap_activities.Accept(data["id"], data) actor.inbox.send(accept, private_key)