Fix warnings.
This commit is contained in:
parent
8682be29a5
commit
d6bf06ab4f
@ -807,8 +807,8 @@ defmodule Pleroma.User do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def parse_bio(bio, user \\ %User{info: %{source_data: %{}}})
|
def parse_bio(bio, user \\ %User{info: %{source_data: %{}}})
|
||||||
def parse_bio(nil, user), do: ""
|
def parse_bio(nil, _user), do: ""
|
||||||
def parse_bio(bio, user) when bio == "", do: bio
|
def parse_bio(bio, _user) when bio == "", do: bio
|
||||||
|
|
||||||
def parse_bio(bio, user) do
|
def parse_bio(bio, user) do
|
||||||
mentions = Formatter.parse_mentions(bio)
|
mentions = Formatter.parse_mentions(bio)
|
||||||
|
Loading…
Reference in New Issue
Block a user