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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let handle = account.acct
|
||||||
|
|
||||||
|
if (!handle.includes('@')) {
|
||||||
|
handle += `@${this.hostname}`
|
||||||
|
}
|
||||||
|
|
||||||
this.$refs.composerInput.innerHTML = `
|
this.$refs.composerInput.innerHTML = `
|
||||||
<span class="mention" contenteditable="false">
|
<span class="mention" contenteditable="false">
|
||||||
<a href="${account.url}" target="_blank">
|
<a href="${account.url}" target="_blank">
|
||||||
<img src="${account.avatar}"/>
|
<img src="${account.avatar}"/>
|
||||||
@${account.acct}
|
@${handle}
|
||||||
</a>
|
</a>
|
||||||
</span> `
|
</span> `
|
||||||
this.updateStatusContent()
|
this.updateStatusContent()
|
||||||
|
|
Ładowanie…
Reference in New Issue