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:
@@ -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;
|
Reference in New Issue
Block a user