old change I did? I guess we should commit it cause it was from a old merge

This commit is contained in:
cutestnekoaqua 2023-03-17 10:40:43 +01:00
parent 748cdca02b
commit a53b70b429
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -51,7 +51,6 @@ namespace MisskeyAPI {
}
export const user = (u: Entity.User): MegalodonEntity.Account => {
host = host.replace('https://', '')
let acct = u.username
let acctUrl = `https://${u.host || 'example.com'}/@${u.username}`
if (u.host) {