summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/components/emoji-picker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue
index 12f770205d..394387c012 100644
--- a/src/client/components/emoji-picker.vue
+++ b/src/client/components/emoji-picker.vue
@@ -310,7 +310,7 @@ export default defineComponent({
this.chosen(exactMatchCustom);
return true;
}
- const exactMatchUnicode = this.emojilist.find(e => e.name === q);
+ const exactMatchUnicode = this.emojilist.find(e => e.char === q || e.name === q);
if (exactMatchUnicode) {
this.chosen(exactMatchUnicode);
return true;