Add remote follow path to webfinger.

This commit is contained in:
eal 2018-01-16 02:17:55 +02:00
commit bc689740f0
2 changed files with 6 additions and 1 deletions

View file

@ -22,6 +22,10 @@ defmodule Pleroma.Web.OStatus do
"#{user.ap_id}/salmon"
end
def remote_follow_path do
"#{Web.base_url}/ostatus_subscribe?acct={uri}"
end
def handle_incoming(xml_string) do
with doc when doc != :error <- parse_document(xml_string) do
entries = :xmerl_xpath.string('//entry', doc)