メッセージでのカスタム絵文字対応
This commit is contained in:
parent
e9a3495225
commit
961ed969db
@ -187,13 +187,14 @@ export default Vue.component('misskey-flavored-markdown', {
|
||||
}
|
||||
|
||||
case 'emoji': {
|
||||
const customEmojis = (this.os.getMetaSync() || { emojis: [] }).emojis || [];
|
||||
return [createElement('mk-emoji', {
|
||||
attrs: {
|
||||
emoji: token.emoji,
|
||||
name: token.name
|
||||
},
|
||||
props: {
|
||||
customEmojis: this.customEmojis
|
||||
customEmojis: this.customEmojis || customEmojis
|
||||
}
|
||||
})];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user