1
0
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:
2021-04-16 07:37:41 +02:00
parent 8d88e28df6
commit ff8a862221
2 changed files with 28 additions and 0 deletions

View File

@@ -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";