enforce maximum title length for topics and users

This commit is contained in:
or-else
2019-11-06 11:25:07 +03:00
parent c539e5f70d
commit 8c1b926008
4 changed files with 20 additions and 12 deletions
+3
View File
@@ -69,6 +69,9 @@ export const MAX_IMAGE_DIM = 768;
// hidden under "+X more"
export const MAX_ONLINE_IN_TOPIC = 4;
// Maximum length of topic title (and Private comment) or user name.
export const MAX_TITLE_LENGTH = 40;
// Link for "Contact Us".
export const LINK_CONTACT_US = 'email:info@tinode.co';