fix(client): fix custom emoji rendering
This commit is contained in:
parent
199d98bf79
commit
d075471b2d
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,8 @@ export default defineComponent({
|
||||||
key: Math.random(),
|
key: Math.random(),
|
||||||
emoji: `:${token.props.name}:`,
|
emoji: `:${token.props.name}:`,
|
||||||
normal: this.plain,
|
normal: this.plain,
|
||||||
host: this.author.host,
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||||
|
host: this.author?.host,
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue