mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 05:18:51 +01: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: {
|
account: {
|
||||||
url: accountURL,
|
url: accountURL,
|
||||||
displayName,
|
displayName,
|
||||||
|
acct,
|
||||||
username,
|
username,
|
||||||
emojis: accountEmojis,
|
emojis: accountEmojis,
|
||||||
bot,
|
bot,
|
||||||
|
@ -2477,7 +2478,7 @@ function generateHTMLCode(post, instance, level = 0) {
|
||||||
— ${emojifyText(
|
— ${emojifyText(
|
||||||
displayName,
|
displayName,
|
||||||
accountEmojis,
|
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>
|
</footer>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in a new issue