Use acct instead of username

This commit is contained in:
Lim Chee Aun 2024-03-03 12:12:40 +08:00
parent 6bb6b9c350
commit b79ce92aef

View file

@ -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>
`;