From 39a5bea9b73daa63203b0640d0a7906d6f1af143 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sat, 2 Mar 2019 06:57:28 +0100 Subject: [PATCH] Pleroma.User: Fix syntax and user.ap_id call --- lib/pleroma/user.ex | 6 +++--- 1 file 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 @@ def parse_bio(bio, 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