1
0
Fork 0
forked from gitea/nas

Merge commit 'e6591bf322' into kb-draft-15.13-lts

This commit is contained in:
KMY 2025-05-07 07:51:35 +09:00
commit 8361a857ff
18 changed files with 120 additions and 35 deletions

View file

@ -184,5 +184,10 @@ export function createAccountFromServerJSON(serverJSON: ApiAccountJSON) {
),
note_emojified: emojify(accountJSON.note, emojiMap),
note_plain: unescapeHTML(accountJSON.note),
url:
accountJSON.url.startsWith('http://') ||
accountJSON.url.startsWith('https://')
? accountJSON.url
: accountJSON.uri,
});
}