From: Haelwenn (lanodan) Monnier Date: Sat, 2 Mar 2019 05:57:28 +0000 (+0100) Subject: Pleroma.User: Fix syntax and user.ap_id call X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=39a5bea9b73daa63203b0640d0a7906d6f1af143;p=akkoma Pleroma.User: Fix syntax and user.ap_id call --- 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