Pleroma.User: Fix syntax and user.ap_id call
This commit is contained in:
parent
3d22642352
commit
39a5bea9b7
|
@ -1204,13 +1204,13 @@ def parse_bio(bio, user) do
|
||||||
end)
|
end)
|
||||||
|
|
||||||
# TODO: get profile URLs other than user.ap_id
|
# TODO: get profile URLs other than user.ap_id
|
||||||
profile_urls = [user[:ap_id]]
|
profile_urls = [user.ap_id]
|
||||||
|
|
||||||
bio
|
bio
|
||||||
|> CommonUtils.format_input("text/plain", %{
|
|> CommonUtils.format_input("text/plain", [
|
||||||
mentions_format: :full,
|
mentions_format: :full,
|
||||||
rel: &RelMe.maybe_put_rel_me(&1, profile_urls)
|
rel: &RelMe.maybe_put_rel_me(&1, profile_urls)
|
||||||
})
|
])
|
||||||
|> elem(0)
|
|> elem(0)
|
||||||
|> Formatter.emojify(emoji)
|
|> Formatter.emojify(emoji)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue