1
0
forked from mirror/misskey

No @ for account name (#3586)

* No @ for account name

* Use @ for GitHub
This commit is contained in:
MeiMei 2018-12-12 17:33:08 +09:00 committed by GitHub
parent c237f49016
commit 7645c212a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ export default async (user: ILocalUser) => {
attachment.push({
type: 'PropertyValue',
name: 'Discord',
value: `<a href="https://discordapp.com/users/${user.discord.id}" rel="me nofollow noopener" target="_blank"><span>@${user.discord.username}#${user.discord.discriminator}</span></a>`
value: `<a href="https://discordapp.com/users/${user.discord.id}" rel="me nofollow noopener" target="_blank"><span>${user.discord.username}#${user.discord.discriminator}</span></a>`
});
}