await misc.request in handle_follow
This commit is contained in:
parent
e3b06d29ab
commit
d2b243d88a
|
@ -66,7 +66,7 @@ async def handle_follow(request, actor, data, software):
|
||||||
# Are Akkoma and Pleroma the only two that expect a follow back?
|
# Are Akkoma and Pleroma the only two that expect a follow back?
|
||||||
# Ignoring only Mastodon for now
|
# Ignoring only Mastodon for now
|
||||||
if software != 'mastodon':
|
if software != 'mastodon':
|
||||||
misc.request(
|
await misc.request(
|
||||||
actor.shared_inbox,
|
actor.shared_inbox,
|
||||||
misc.Message.new_follow(
|
misc.Message.new_follow(
|
||||||
host = request.app.config.host,
|
host = request.app.config.host,
|
||||||
|
|
Loading…
Reference in a new issue