summaryrefslogtreecommitdiff
path: root/src/remote
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-12-12 17:33:08 +0900
committerGitHub <noreply@github.com>2018-12-12 17:33:08 +0900
commit7645c212a38253b4307315dfbef15075492b037f (patch)
treeb1853de1df628aa4a90399ac35d7d51db93b0e7e /src/remote
parent10.63.1 (diff)
downloadmisskey-7645c212a38253b4307315dfbef15075492b037f.tar.gz
misskey-7645c212a38253b4307315dfbef15075492b037f.tar.bz2
misskey-7645c212a38253b4307315dfbef15075492b037f.zip
No @ for account name (#3586)
* No @ for account name * Use @ for GitHub
Diffstat (limited to 'src/remote')
-rw-r--r--src/remote/activitypub/renderer/person.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/person.ts b/src/remote/activitypub/renderer/person.ts
index 2c411e544a..d8e10708b5 100644
--- a/src/remote/activitypub/renderer/person.ts
+++ b/src/remote/activitypub/renderer/person.ts
@@ -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>`
});
}