Limit chat display names to 30 characters. Closes #1919

This commit is contained in:
Gabe Kangas
2022-08-14 18:09:16 -07:00
parent c93d4fca08
commit d32d741abf
2 changed files with 10 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ const (
DataDirectory = "data"
// EmojiDir is relative to the webroot.
EmojiDir = "/img/emoji"
// MaxChatDisplayNameLength is the maximum length of a chat display name.
MaxChatDisplayNameLength = 30
)
var (