1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-09-25 22:29:45 +00:00

Enforce messages text len policy

This commit is contained in:
2021-03-05 12:30:40 +01:00
parent 7ce29bca3e
commit 590aba0848
3 changed files with 30 additions and 6 deletions

View File

@@ -165,4 +165,5 @@ pub const CLEAN_UP_INTERVAL: Duration = Duration::from_secs(60 * 60);
pub const MIN_SUPPORTED_MOBILE_VERSION: &str = "1.1.1";
/// Minimum message length
pub const MIN_CONVERSATION_MESSAGE_LENGTH: usize = 1;
pub const MIN_CONVERSATION_MESSAGE_LENGTH: usize = 1;
pub const MAX_CONVERSATION_MESSAGE_LENGTH: usize = 16000;