diff --git a/src/utils/index.js b/src/utils/index.js index 4c436ec..512fa15 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -16,7 +16,7 @@ function unifiedToNative(unified) { function sanitize(emoji) { var { name, short_names, skin_tone, skin_variations, emoticons, unified, custom, imageUrl } = emoji, - id = short_names[0], + id = emoji.id || short_names[0], colons = `:${id}:` if (custom) {