AP and WebFinger need love here
This commit is contained in:
parent
8d561f952f
commit
9a858621d6
@ -321,7 +321,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||||||
with {:ok, %{"ap_id" => ap_id}} when not is_nil(ap_id) <- WebFinger.finger(nickname) do
|
with {:ok, %{"ap_id" => ap_id}} when not is_nil(ap_id) <- WebFinger.finger(nickname) do
|
||||||
make_user_from_ap_id(ap_id)
|
make_user_from_ap_id(ap_id)
|
||||||
else
|
else
|
||||||
_e -> {:error, "No ap id in webfinger"}
|
_e -> {:error, "No AP id in WebFinger"}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user