Fix warnings.
This commit is contained in:
parent
8682be29a5
commit
d6bf06ab4f
1 changed files with 2 additions and 2 deletions
|
@ -807,8 +807,8 @@ def wait_and_refresh(timeout, %User{} = a, %User{} = b) 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 a new issue