From b54660a4b161da90a1920677a85c7a7994e202e7 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 3 Jan 2023 02:41:45 -0500 Subject: [PATCH] Temporarily remove emoji library --- src/api/utils/RoomChatFormatter.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/api/utils/RoomChatFormatter.ts b/src/api/utils/RoomChatFormatter.ts index 8da83aca..a24cdf57 100644 --- a/src/api/utils/RoomChatFormatter.ts +++ b/src/api/utils/RoomChatFormatter.ts @@ -1,5 +1,3 @@ -import * as joypixels from 'emoji-toolkit'; - const allowedColours: Map = new Map(); allowedColours.set('r', 'red'); @@ -44,7 +42,7 @@ export const RoomChatFormatter = (content: string) => let result = ''; content = encodeHTML(content); - content = (joypixels.shortnameToUnicode(content) as string) + //content = (joypixels.shortnameToUnicode(content) as string) if(content.startsWith('@') && content.indexOf('@', 1) > -1) {