do not miss statusnet_profile_url of mentions

This commit is contained in:
taehoon 2019-05-22 23:47:20 -04:00
parent 45961331b6
commit 2af35b8404

View file

@ -33,6 +33,7 @@ export const parseUser = (data) => {
if (masto) { if (masto) {
output.screen_name = data.acct output.screen_name = data.acct
output.statusnet_profile_url = data.url
// There's nothing else to get // There's nothing else to get
if (mastoShort) { if (mastoShort) {
@ -56,8 +57,6 @@ export const parseUser = (data) => {
output.bot = data.bot output.bot = data.bot
output.statusnet_profile_url = data.url
if (data.pleroma) { if (data.pleroma) {
const relationship = data.pleroma.relationship const relationship = data.pleroma.relationship