mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 11:29:17 +00:00
Webfinger: Remove leading @s.
This commit is contained in:
parent
aa79d64e0d
commit
1331a39d39
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue