Skip to content
Snippets Groups Projects
Commit d6bf06ab authored by lain's avatar lain
Browse files

Fix warnings.

parent 8682be29
No related branches found
No related tags found
No related merge requests found
......@@ -807,8 +807,8 @@ def wait_and_refresh(timeout, %User{} = a, %User{} = b) 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment