use right variable for inbox
This commit is contained in:
parent
3305a25da4
commit
7732a860e9
|
@ -48,7 +48,7 @@ async def handle_forward(request, actor, data, software):
|
||||||
|
|
||||||
|
|
||||||
async def handle_follow(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.set_followid(actor.id, data.id)
|
||||||
|
|
||||||
request.app.database.save()
|
request.app.database.save()
|
||||||
|
|
Loading…
Reference in a new issue