WIP: add custom emoji

This commit is contained in:
eugenijm 2020-05-11 21:56:07 +03:00
parent 8a8a9ad562
commit fc3d7a7565

View file

@ -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)
}