remote follow: support handle with and without leading @

This commit is contained in:
william Murphy 2019-11-19 19:48:15 -06:00
parent 7c580b991e
commit c96e1f9a51

View file

@ -85,7 +85,7 @@ export default {
return return
} }
this.fetchingRemote = true; this.fetchingRemote = true;
window.fetch(`https://${domain}/.well-known/webfinger?resource=acct:${acct}`, { window.fetch(`https://${domain}/.well-known/webfinger?resource=acct:${username}@${domain}`, {
method: 'get', method: 'get',
mode: 'cors', mode: 'cors',
headers: { headers: {