From fc3d7a75653208c085ccfd2cb7ceeb3c0265bde4 Mon Sep 17 00:00:00 2001 From: eugenijm Date: Mon, 11 May 2020 21:56:07 +0300 Subject: [PATCH] WIP: add custom emoji --- src/services/entity_normalizer/entity_normalizer.service.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 862cd6aa..50bd4553 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -387,6 +387,7 @@ export const parseChatMessage = (message) => { output.id = parseInt(message.id, 10) output.created_at = new Date(message.created_at) output.chat_id = parseInt(message.chat_id, 10) + output.content = addEmojis(escape(message.content), message.emojis) if (message.attachment) { output.attachment = parseAttachment(message.attachment) }