[#534] Updating external instances reachability on incoming federation.
This commit is contained in:
parent
20b54366ee
commit
8654a591f0
9 changed files with 49 additions and 7 deletions
|
|
@ -173,7 +173,10 @@ defmodule Pleroma.Web.Salmon do
|
|||
poster.(
|
||||
url,
|
||||
feed,
|
||||
[{"Content-Type", "application/magic-envelope+xml"}]
|
||||
[
|
||||
{"Content-Type", "application/magic-envelope+xml"},
|
||||
{"referer", Pleroma.Web.Endpoint.url()}
|
||||
]
|
||||
) do
|
||||
Instances.set_reachable(url)
|
||||
Logger.debug(fn -> "Pushed to #{url}, code #{code}" end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue