diff options
author | lain <lain@soykaf.club> | 2018-11-18 21:40:52 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-11-18 21:40:52 +0100 |
commit | 4c918392c61ca30f46d8e5f8e964993844b70ad8 (patch) | |
tree | 2234c5f9ded26772aa60bb705ff853b229344162 /lib/pleroma/formatter.ex | |
parent | e7cd6e97394a80ed3ef794e801183cc0635f8a15 (diff) | |
download | pleroma-4c918392c61ca30f46d8e5f8e964993844b70ad8.tar.gz |
Fix most User tests.
Diffstat (limited to 'lib/pleroma/formatter.ex')
-rw-r--r-- | lib/pleroma/formatter.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex index 26bb17377..1a5c07c8a 100644 --- a/lib/pleroma/formatter.ex +++ b/lib/pleroma/formatter.ex @@ -116,8 +116,8 @@ defmodule Pleroma.Formatter do subs ++ Enum.map(mentions, fn {match, %User{ap_id: ap_id, info: info}, uuid} -> ap_id = - if is_binary(info["source_data"]["url"]) do - info["source_data"]["url"] + if is_binary(info.source_data["url"]) do + info.source_data["url"] else ap_id end |