Use acct instead of username

pull/441/head
Lim Chee Aun 2024-03-03 12:12:40 +08:00
rodzic 6bb6b9c350
commit b79ce92aef
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -2333,6 +2333,7 @@ function generateHTMLCode(post, instance, level = 0) {
account: {
url: accountURL,
displayName,
acct,
username,
emojis: accountEmojis,
bot,
@ -2477,7 +2478,7 @@ function generateHTMLCode(post, instance, level = 0) {
${emojifyText(
displayName,
accountEmojis,
)} (@${username}) <a href="${url}"><time datetime="${createdAtDate.toISOString()}">${createdAtDate.toLocaleString()}</time></a>
)} (@${acct}) <a href="${url}"><time datetime="${createdAtDate.toISOString()}">${createdAtDate.toLocaleString()}</time></a>
</footer>
</blockquote>
`;