Updated 1023-byte limits to 2048

This commit is contained in:
barelyprofessional
2026-03-04 21:15:21 -06:00
parent 896477787d
commit 545c880dba
3 changed files with 4 additions and 4 deletions

View File

@@ -270,7 +270,7 @@ public class ChatClient
if (_wsClient == null) throw new WebSocketNotInitializedException();
var msg = $"/edit {payload}";
var length = Encoding.UTF8.GetByteCount(msg);
if (length > 1023)
if (length > 2048)
{
_logger.Error($"Edit message is too long at {length} bytes");
}