From c85fb8530e74151694624505ad4dc62863b16066 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 24 Jun 2018 19:22:40 +0200 Subject: [PATCH] Fix remote follow (fixes #10) --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ca9448b..0ca4da6 100644 --- a/app.py +++ b/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")