From b1a78da71901017fb9db196785b844b49e5ff3ca Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 26 Nov 2022 22:51:57 -0700 Subject: [PATCH] Bugfix: need to use the pending's inbox --- projects/activitypub_relay/src/python/relay/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/activitypub_relay/src/python/relay/views.py b/projects/activitypub_relay/src/python/relay/views.py index 779abcd..b45f04e 100644 --- a/projects/activitypub_relay/src/python/relay/views.py +++ b/projects/activitypub_relay/src/python/relay/views.py @@ -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"]