Catch up to 2023.02 stable release #5

Merged
fedward merged 91 commits from AkkomaGang/akkoma-fe:stable into stable 2023-02-12 19:15:20 +00:00
Showing only changes of commit fcbbbad8d4 - Show all commits

View file

@ -138,7 +138,7 @@ const EmojiPicker = {
if (this.keyword === '') return list
const regex = new RegExp(escapeRegExp(trim(this.keyword)), 'i')
return list.filter(emoji => {
return regex.test(emoji.displayText)
return (regex.test(emoji.displayText) || (!emoji.imageUrl && emoji.replacement === this.keyword))
})
}
},