Bugfix: need to use the pending's inbox
This commit is contained in:
parent
f964f64800
commit
16215dec12
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ async def set_config(request: Request):
|
||||||
if (pending_follow := request.app.database.get_request(domain, False)):
|
if (pending_follow := request.app.database.get_request(domain, False)):
|
||||||
logging.info(f"Acknowledging queued follow request from {domain}...")
|
logging.info(f"Acknowledging queued follow request from {domain}...")
|
||||||
await misc.request(
|
await misc.request(
|
||||||
actor.shared_inbox,
|
pending_follow["inbox"],
|
||||||
misc.Message.new_response(
|
misc.Message.new_response(
|
||||||
host=request.app.config.host,
|
host=request.app.config.host,
|
||||||
actor=pending_follow["actor"],
|
actor=pending_follow["actor"],
|
||||||
|
@ -248,7 +248,7 @@ async def set_config(request: Request):
|
||||||
)
|
)
|
||||||
|
|
||||||
await misc.request(
|
await misc.request(
|
||||||
actor.shared_inbox,
|
pending_follow["inbox"],
|
||||||
misc.Message.new_follow(
|
misc.Message.new_follow(
|
||||||
host=request.app.config.host,
|
host=request.app.config.host,
|
||||||
actor=pending_follow["actor"]
|
actor=pending_follow["actor"]
|
||||||
|
|
Loading…
Reference in a new issue