From 00c746fc4c47e71d9680a6b174a0e20d82bea0ce Mon Sep 17 00:00:00 2001 From: occamsaturn <88759801+occamsaturn@users.noreply.github.com> Date: Mon, 15 Dec 2025 20:16:33 -0800 Subject: [PATCH] Update djui_chat_message.h with MAX_CHAT_PACKET_LENGTH This, in combination with a change to djui_chat_message.c, will also assist with the chat character limit increase by allowing for larger strings to be sent over chat packets without loss. This could probably be refined down to exactly the amount of extra data chat packets can contain, but 600 works, so that's what I went with. --- src/pc/djui/djui_chat_message.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pc/djui/djui_chat_message.h b/src/pc/djui/djui_chat_message.h index 5eb451b48..83d2ec99f 100644 --- a/src/pc/djui/djui_chat_message.h +++ b/src/pc/djui/djui_chat_message.h @@ -2,6 +2,7 @@ #include "djui.h" #define MAX_CHAT_MSG_LENGTH 500 +#definte MAX_CHAT_PACKET_LENGTH 600 struct DjuiChatMessage { struct DjuiBase base;