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