projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return visilility in twitter api, too.
[akkoma]
/
lib
/
pleroma
/
formatter.ex
diff --git
a/lib/pleroma/formatter.ex
b/lib/pleroma/formatter.ex
index 395a0ac556dfc0eeb019659990517782292f6b25..53e2c204f30c0e6c542b00b63485ab0555ae7fa8 100644
(file)
--- a/
lib/pleroma/formatter.ex
+++ b/
lib/pleroma/formatter.ex
@@
-160,7
+160,7
@@
defmodule Pleroma.Formatter do
links =
Regex.scan(@link_regex, text)
|> Enum.map(fn [url] -> {Ecto.UUID.generate(), url} end)
- |> Enum.sort_by(fn
({_, url})
-> -String.length(url) end)
+ |> Enum.sort_by(fn
{_, url}
-> -String.length(url) end)
uuid_text =
links