load user inbox before trying to access it

This commit is contained in:
jesopo 2019-09-15 11:48:58 +01:00
parent c612bb8a15
commit 863ce32cda

View file

@ -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)