mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-28 20:47:10 +00:00
Fix code style issue (#34624)
This commit is contained in:
parent
79931bf3ae
commit
3bbf3e9709
|
@ -144,6 +144,10 @@ export function createAccountFromServerJSON(serverJSON: ApiAccountJSON) {
|
||||||
),
|
),
|
||||||
note_emojified: emojify(accountJSON.note, emojiMap),
|
note_emojified: emojify(accountJSON.note, emojiMap),
|
||||||
note_plain: unescapeHTML(accountJSON.note),
|
note_plain: unescapeHTML(accountJSON.note),
|
||||||
url: accountJSON.url.startsWith('http://') || accountJSON.url.startsWith('https://') ? accountJSON.url : accountJSON.uri,
|
url:
|
||||||
|
accountJSON.url.startsWith('http://') ||
|
||||||
|
accountJSON.url.startsWith('https://')
|
||||||
|
? accountJSON.url
|
||||||
|
: accountJSON.uri,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user