Commit d6bf06ab authored by lain's avatar lain

Fix warnings.

parent 8682be29
Pipeline #5179 passed with stages
in 2 minutes and 27 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment