mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
メッセージでのカスタム絵文字対応
This commit is contained in:
parent
45ccb6402f
commit
6882ed7df0
@ -187,13 +187,14 @@ export default Vue.component('misskey-flavored-markdown', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 'emoji': {
|
case 'emoji': {
|
||||||
|
const customEmojis = (this.os.getMetaSync() || { emojis: [] }).emojis || [];
|
||||||
return [createElement('mk-emoji', {
|
return [createElement('mk-emoji', {
|
||||||
attrs: {
|
attrs: {
|
||||||
emoji: token.emoji,
|
emoji: token.emoji,
|
||||||
name: token.name
|
name: token.name
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
customEmojis: this.customEmojis
|
customEmojis: this.customEmojis || customEmojis
|
||||||
}
|
}
|
||||||
})];
|
})];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user