From 7732a860e9f419f0e8b4b276c2e361b9407c764b Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Thu, 10 Nov 2022 13:08:25 -0500 Subject: [PATCH] use right variable for inbox --- relay/processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/processors.py b/relay/processors.py index b8a19aa..9b54dfc 100644 --- a/relay/processors.py +++ b/relay/processors.py @@ -48,7 +48,7 @@ async def handle_forward(request, actor, data, software): async def handle_follow(request, actor, data, software): - if request.app.database.add_inbox(inbox, data.id): + if not request.app.database.add_inbox(actor.shared_inbox, data.id): request.app.database.set_followid(actor.id, data.id) request.app.database.save()