Commit 1331a39d authored by lain's avatar lain

Webfinger: Remove leading @s.

parent aa79d64e
......@@ -105,6 +105,7 @@ def find_lrdd_template(domain) do
end
def finger(account) do
account = String.trim_leading(account, "@")
domain = with [_name, domain] <- String.split(account, "@") do
domain
else _e ->
......
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