Remove trim on message bodies and hopefully not destroy everything
This commit is contained in:
parent
fafec2175c
commit
296d66963f
1 changed files with 0 additions and 2 deletions
|
@ -58,8 +58,6 @@ namespace SharpChat.PacketHandlers
|
||||||
if(messageText.Length > maxMsgLength)
|
if(messageText.Length > maxMsgLength)
|
||||||
messageText = messageText[..maxMsgLength];
|
messageText = messageText[..maxMsgLength];
|
||||||
|
|
||||||
messageText = messageText.Trim();
|
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
Logger.Write($"<{ctx.Connection.Id} {user.UserName}> {messageText}");
|
Logger.Write($"<{ctx.Connection.Id} {user.UserName}> {messageText}");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue