mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-22 14:20:52 +01:00
Temporarily remove emoji library
This commit is contained in:
parent
955e801547
commit
b54660a4b1
@ -1,5 +1,3 @@
|
||||
import * as joypixels from 'emoji-toolkit';
|
||||
|
||||
const allowedColours: Map<string, string> = 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user