Skip to content

Commit

Permalink
Add more words & symbold in chat sanitize (space-syndicate#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzk228 authored Dec 8, 2023
1 parent 9b294ec commit 5e95c05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Content.Server/Chat/Managers/ChatSanitizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager
{ "о/", "chatsan-waves" }, // cyrillic о
{ "о7", "chatsan-salutes" }, // cyrillic о
{ "0_o", "chatsan-wide-eyed" },
{ "лол", "chatsan-laughs" },
{ "лмао", "chatsan-laughs" },
{ "рофл", "chatsan-laughs" },
{ "яхз", "chatsan-shrugs" },
Expand All @@ -32,6 +33,10 @@ public sealed class ChatSanitizationManager : IChatSanitizationManager
{ "", "chatsan-sighs" },
{ "", "chatsan-claps" },
{ "", "chatsan-snaps" },
{ "))", "chatsan-smiles-widely" },
{ ")", "chatsan-smiles" },
{ "((", "chatsan-frowns-deeply" },
{ "(", "chatsan-frowns" },
// Corvax-Localization-End
// I could've done this with regex, but felt it wasn't the right idea.
{ ":)", "chatsan-smiles" },
Expand Down

0 comments on commit 5e95c05

Please sign in to comment.