projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename regular expression 'have_re' to 'reply_prefix'.
[akkoma]
/
lib
/
pleroma
/
formatter.ex
diff --git
a/lib/pleroma/formatter.ex
b/lib/pleroma/formatter.ex
index 26bb17377094340d69a0280086cc146ee4e85f83..1a5c07c8a61e73edba5ac88297090fd69aa28cbe 100644
(file)
--- 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