mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +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();
|
const allowedColours: Map<string, string> = new Map();
|
||||||
|
|
||||||
allowedColours.set('r', 'red');
|
allowedColours.set('r', 'red');
|
||||||
@ -44,7 +42,7 @@ export const RoomChatFormatter = (content: string) =>
|
|||||||
let result = '';
|
let result = '';
|
||||||
|
|
||||||
content = encodeHTML(content);
|
content = encodeHTML(content);
|
||||||
content = (joypixels.shortnameToUnicode(content) as string)
|
//content = (joypixels.shortnameToUnicode(content) as string)
|
||||||
|
|
||||||
if(content.startsWith('@') && content.indexOf('@', 1) > -1)
|
if(content.startsWith('@') && content.indexOf('@', 1) > -1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user