move stickers to emoji store

This commit is contained in:
Henry Jameson 2026-01-29 15:14:17 +02:00
commit 5e21134d9b
4 changed files with 11 additions and 5 deletions

View file

@ -14,6 +14,9 @@ const defaultState = {
emoji: {},
emojiFetched: false,
unicodeEmojiAnnotations: {},
// Stickers
stickers: null
}
const SORTED_EMOJI_GROUP_IDS = [
@ -127,6 +130,9 @@ export const useEmojiStore = defineStore('emoji', {
},
},
actions: {
setStickers (stickers) {
this.stickers = stickers
},
async getStaticEmoji() {
try {
// See build/emojis_plugin for more details