mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-15 03:04:28 +00:00
Fix remote follow (fixes #10)
This commit is contained in:
parent
c8eed9e89c
commit
c85fb8530e
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -397,7 +397,7 @@ def authorize_follow():
|
|||
if DB.following.find({"remote_actor": actor}).count() > 0:
|
||||
return redirect("/following")
|
||||
|
||||
follow = activitypub.Follow(actor=MY_PERSON.id, object=actor)
|
||||
follow = ap.Follow(actor=MY_PERSON.id, object=actor)
|
||||
OUTBOX.post(follow)
|
||||
|
||||
return redirect("/following")
|
||||
|
|
Loading…
Reference in a new issue