use right variable for inbox

This commit is contained in:
Izalia Mae 2022-11-10 13:08:25 -05:00
parent 3305a25da4
commit 7732a860e9

View file

@ -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()