kopia lustrzana https://github.com/nextcloud/social
use full handle in automatic handles
Signed-off-by: Louis Chemineau <louis@chmn.me>pull/1726/head
rodzic
b1d7703613
commit
8890d7d68e
|
@ -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> `
|
||||
this.updateStatusContent()
|
||||
|
|
Ładowanie…
Reference in New Issue