aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/user.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex
index 447beb25b..a9592df6d 100644
--- a/lib/pleroma/user.ex
+++ b/lib/pleroma/user.ex
@@ -1204,13 +1204,13 @@ defmodule Pleroma.User do
end)
# TODO: get profile URLs other than user.ap_id
- profile_urls = [user[:ap_id]]
+ profile_urls = [user.ap_id]
bio
- |> CommonUtils.format_input("text/plain", %{
+ |> CommonUtils.format_input("text/plain", [
mentions_format: :full,
rel: &RelMe.maybe_put_rel_me(&1, profile_urls)
- })
+ ])
|> elem(0)
|> Formatter.emojify(emoji)
end