mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-09-25 22:29:45 +00:00
Add new configuration fields
This commit is contained in:
@@ -224,5 +224,16 @@ pub mod conversations {
|
||||
pub const MAX_CONV_LOGO_HEIGHT: u32 = 200;
|
||||
}
|
||||
|
||||
/// Account information policy
|
||||
pub mod accounts_info_policy {
|
||||
/// Minimum & maximum first name length
|
||||
pub const MIN_FIRST_NAME_LENGTH: u8 = 2;
|
||||
pub const MAX_FIRST_NAME_LENGTH: u8 = 50;
|
||||
|
||||
/// Minimum & maximum last name length
|
||||
pub const MIN_LAST_NAME_LENGTH: u8 = 2;
|
||||
pub const MAX_LAST_NAME_LENGTH: u8 = 50;
|
||||
}
|
||||
|
||||
/// Url where Firebase push notifications can be sent
|
||||
pub const FIREBASE_PUSH_MESSAGE_URL: &str = "https://fcm.googleapis.com/v1/projects/{PROJECT_ID}/messages:send";
|
Reference in New Issue
Block a user