Add remote follow path to webfinger.
This commit is contained in:
parent
ac7580df78
commit
bc689740f0
2 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue