mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 19:03:11 +02:00
メッセージでのカスタム絵文字対応
This commit is contained in:
parent
e9a3495225
commit
961ed969db
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue