Bugfix: need to use the pending's inbox

This commit is contained in:
Reid 'arrdem' McKenzie 2022-11-26 22:51:57 -07:00
parent f964f64800
commit 16215dec12

View file

@ -238,7 +238,7 @@ async def set_config(request: Request):
if (pending_follow := request.app.database.get_request(domain, False)):
logging.info(f"Acknowledging queued follow request from {domain}...")
await misc.request(
actor.shared_inbox,
pending_follow["inbox"],
misc.Message.new_response(
host=request.app.config.host,
actor=pending_follow["actor"],
@ -248,7 +248,7 @@ async def set_config(request: Request):
)
await misc.request(
actor.shared_inbox,
pending_follow["inbox"],
misc.Message.new_follow(
host=request.app.config.host,
actor=pending_follow["actor"]