use full handle in automatic handles

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/1726/head
Louis Chemineau 2023-04-11 12:02:48 +02:00
rodzic b1d7703613
commit 8890d7d68e
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -305,11 +305,17 @@ export default {
return
}
let handle = account.acct
if (!handle.includes('@')) {
handle += `@${this.hostname}`
}
this.$refs.composerInput.innerHTML = `
<span class="mention" contenteditable="false">
<a href="${account.url}" target="_blank">
<img src="${account.avatar}"/>
@${account.acct}
@${handle}
</a>
</span>&nbsp;`
this.updateStatusContent()