From 470d763ff141146d02d3cbb6e3f2de741c0cc9a4 Mon Sep 17 00:00:00 2001 From: Etoh Date: Tue, 21 Mar 2023 18:28:59 +0000 Subject: [PATCH] Revert default max username length to 16 chars (#596) --- syncplay/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncplay/constants.py b/syncplay/constants.py index a4e7a58..cf69097 100755 --- a/syncplay/constants.py +++ b/syncplay/constants.py @@ -96,7 +96,7 @@ DEFAULT_CHAT_FONT_WEIGHT = 1 # Max numbers are used by server (and client pre-connection). Once connected client gets values from server featureList (or uses 'fallback' versions for old servers) MAX_CHAT_MESSAGE_LENGTH = 150 # Number of displayed characters -MAX_USERNAME_LENGTH = 150 # Number of displayed characters +MAX_USERNAME_LENGTH = 16 # Number of displayed characters MAX_ROOM_NAME_LENGTH = 35 # Number of displayed characters MAX_FILENAME_LENGTH = 250 # Number of displayed characters FALLBACK_MAX_CHAT_MESSAGE_LENGTH = 50 # Number of displayed characters