Fix bug
This commit is contained in:
@@ -186,7 +186,7 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||
|
||||
case 'emoji': {
|
||||
//#region カスタム絵文字
|
||||
const customEmojis = (this.os.getMetaSync() || { emojis: [] }).emojis;
|
||||
const customEmojis = (this.os.getMetaSync() || { emojis: [] }).emojis || [];
|
||||
const customEmoji = customEmojis.find(e => e.name == token.emoji || (e.aliases || []).includes(token.emoji));
|
||||
if (customEmoji) {
|
||||
return [createElement('img', {
|
||||
|
Reference in New Issue
Block a user