load user inbox before trying to access it
This commit is contained in:
parent
c612bb8a15
commit
863ce32cda
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ class Server(object):
|
||||||
private_key = self._private_key(key_id)
|
private_key = self._private_key(key_id)
|
||||||
|
|
||||||
actor = ap_actor.Actor(new_follower)
|
actor = ap_actor.Actor(new_follower)
|
||||||
|
actor.load()
|
||||||
accept = ap_activities.Accept(data["id"], data)
|
accept = ap_activities.Accept(data["id"], data)
|
||||||
actor.inbox.send(accept, private_key)
|
actor.inbox.send(accept, private_key)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue