mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Add missing "relay@" part of federated address to follow
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
030a149a61
commit
ce6a25048c
1 changed files with 4 additions and 1 deletions
|
@ -179,7 +179,10 @@ defmodule Mobilizon.Federation.ActivityPub.Relay do
|
|||
check_actor(address)
|
||||
|
||||
!is_nil(host) ->
|
||||
uri |> create_full_domain_string() |> check_actor()
|
||||
uri
|
||||
|> create_full_domain_string()
|
||||
|> then(&Kernel.<>("relay@", &1))
|
||||
|> check_actor()
|
||||
|
||||
true ->
|
||||
{:error, :bad_url}
|
||||
|
|
Loading…
Reference in a new issue