From 7ed3448e13847f3ba807be1354e90c912fbefd9a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 1 Feb 2020 07:16:52 +0900 Subject: Resolve #1669 --- src/remote/activitypub/renderer/person.ts | 39 ------------------------------- 1 file changed, 39 deletions(-) (limited to 'src/remote/activitypub/renderer') diff --git a/src/remote/activitypub/renderer/person.ts b/src/remote/activitypub/renderer/person.ts index 07a0eeed42..af0e446ac1 100644 --- a/src/remote/activitypub/renderer/person.ts +++ b/src/remote/activitypub/renderer/person.ts @@ -39,45 +39,6 @@ export async function renderPerson(user: ILocalUser) { } } - if (profile.twitter) { - attachment.push({ - type: 'PropertyValue', - name: 'Twitter', - value: `@${profile.twitterScreenName}`, - identifier: { - type: 'PropertyValue', - name: 'misskey:authentication:twitter', - value: `${profile.twitterUserId}@${profile.twitterScreenName}` - } - }); - } - - if (profile.github) { - attachment.push({ - type: 'PropertyValue', - name: 'GitHub', - value: `@${profile.githubLogin}`, - identifier: { - type: 'PropertyValue', - name: 'misskey:authentication:github', - value: `${profile.githubId}@${profile.githubLogin}` - } - }); - } - - if (profile.discord) { - attachment.push({ - type: 'PropertyValue', - name: 'Discord', - value: `${profile.discordUsername}#${profile.discordDiscriminator}`, - identifier: { - type: 'PropertyValue', - name: 'misskey:authentication:discord', - value: `${profile.discordId}@${profile.discordUsername}#${profile.discordDiscriminator}` - } - }); - } - const emojis = await getEmojis(user.emojis); const apemojis = emojis.map(emoji => renderEmoji(emoji)); -- cgit v1.2.3-freya