Merge branch '556' into 'develop'

Fix User links/mentions opening in new tab issue

Closes #556

See merge request pleroma/pleroma-fe!808
This commit is contained in:
HJ 2019-05-23 05:34:15 +00:00
commit ab34a75bcf
1 changed files with 1 additions and 2 deletions

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