From 9647dea346d86340565ef4d82936f8d8b795e261 Mon Sep 17 00:00:00 2001 From: Alayan Date: Thu, 7 Nov 2019 22:24:13 +0100 Subject: [PATCH] Fix #3714 --- src/network/protocols/server_lobby.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/protocols/server_lobby.cpp b/src/network/protocols/server_lobby.cpp index 427e601dd..98d68c543 100644 --- a/src/network/protocols/server_lobby.cpp +++ b/src/network/protocols/server_lobby.cpp @@ -662,7 +662,7 @@ void ServerLobby::handleChat(Event* event) event->getPeer()->updateLastActivity(); const bool sender_in_game = event->getPeer()->isWaitingForGame(); core::stringw message; - event->data().decodeString16(&message, 1000/*max_len*/); + event->data().decodeString16(&message, 360/*max_len*/); if (message.size() > 0) { NetworkString* chat = getNetworkString();