fix(client): fix custom emoji rendering

This commit is contained in:
syuilo 2023-01-15 07:53:15 +09:00
parent 199d98bf79
commit d075471b2d

View File

@ -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,
})]; })];
} }