projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8682be2
)
Fix warnings.
author
lain
<lain@soykaf.club>
Mon, 10 Dec 2018 19:49:06 +0000
(20:49 +0100)
committer
lain
<lain@soykaf.club>
Mon, 10 Dec 2018 19:49:06 +0000
(20:49 +0100)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index dc67f29c62f8c653eb3d3ee043891f6ae4ab9ac9..bcc34b38f89717f1bf3bf60eb799842c7764ad08 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-807,8
+807,8
@@
defmodule Pleroma.User do
end
def parse_bio(bio, user \\ %User{info: %{source_data: %{}}})
- def parse_bio(nil, user), do: ""
- def parse_bio(bio, user) when bio == "", do: bio
+ def parse_bio(nil,
_
user), do: ""
+ def parse_bio(bio,
_
user) when bio == "", do: bio
def parse_bio(bio, user) do
mentions = Formatter.parse_mentions(bio)