mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 10:45:41 +03:00
Use acct instead of username
This commit is contained in:
parent
6bb6b9c350
commit
b79ce92aef
1 changed files with 2 additions and 1 deletions
|
@ -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>
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue