mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Updated 1023-byte limits to 2048
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user