B Providers/ActivityPub: Ensure that nothing explodes on unexpected input.
This commit is contained in:
parent
60ec42cb9c
commit
5b3e4cf49b
2 changed files with 9 additions and 0 deletions
|
|
@ -16,4 +16,7 @@ defmodule Pleroma.Web.Metadata.Providers.ActivityPub do
|
|||
def build_tags(%{user: user}) do
|
||||
[{:link, [rel: "alternate", type: "application/activity+json", href: user.ap_id], []}]
|
||||
end
|
||||
|
||||
@impl Provider
|
||||
def build_tags(_), do: []
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue