feat: enhance chat message handling by converting emojis to text shortcodes and improving newline sanitization

This commit is contained in:
HueByte
2026-02-19 20:41:36 +01:00
parent 8fc95e8189
commit 9f303b5311
4 changed files with 154 additions and 36 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ public static class HubConstants
public const int MaxFileSizeBytes = 10 * 1024 * 1024; // 10 MB
public const int MaxAvatarSizeBytes = 2 * 1024 * 1024; // 2 MB
public const int MaxMessageNewlines = 30;
public const int MaxConsecutiveNewlines = 2;
public const int MaxConsecutiveNewlines = 1;
public const int AsciiArtWidth = 80;
public const int AsciiArtHeight = 40;
public const int AsciiArtHeightHalfBlock = 80;