This commit is contained in:
mattyatea 2024-05-17 11:51:41 +09:00
parent ce3a019d81
commit 4fe0891374
3 changed files with 5 additions and 3 deletions

View file

@ -475,7 +475,8 @@ export default function (props: MfmProps, { emit }: { emit: SetupContext<MfmEven
case 'emojiCode': {
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
if (props.author?.host == null && props.emojireq ) {
console.log('emojiCode', props.emojireq);
if (props.author?.host == null && !props.emojireq ) {
return [h(MkCustomEmoji, {
key: Math.random(),
name: token.props.name,