aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-02 06:57:28 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-03-02 06:57:28 +0100
commit39a5bea9b73daa63203b0640d0a7906d6f1af143 (patch)
treefd49d38c7678899eb1ab6ed2bb79aa881538f810
parent3d22642352b797c6963dba7c9116c27699d5c641 (diff)
downloadpleroma-39a5bea9b73daa63203b0640d0a7906d6f1af143.tar.gz
Pleroma.User: Fix syntax and user.ap_id call
-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