forked from FoundKeyGang/FoundKey
applied local user mentioning
This commit is contained in:
parent
29ef35064c
commit
295aec9dca
1 changed files with 6 additions and 2 deletions
|
@ -246,8 +246,12 @@ export default defineComponent({
|
|||
this.text += ' ';
|
||||
}
|
||||
|
||||
if (this.reply && this.reply.user.host != null) {
|
||||
this.text = `@${this.reply.user.username}@${toASCII(this.reply.user.host)} `;
|
||||
if (this.reply) {
|
||||
if (this.reply.user.host != null) {
|
||||
this.text = `@${this.reply.user.username}@${toASCII(this.reply.user.host)} `;
|
||||
} else if (this.reply.user.username != this.$i.username) {
|
||||
this.text = `@${this.reply.user.username}@${toASCII(host)} `;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.reply && this.reply.text != null) {
|
||||
|
|
Loading…
Reference in a new issue