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

Expose to on server configuration max conversation images width

This commit is contained in:
2021-03-12 19:17:53 +01:00
parent e09da912c4
commit e10402b587
3 changed files with 21 additions and 5 deletions

View File

@@ -200,4 +200,12 @@ pub mod conversations {
/// Lifetime of conversation writing event
pub const CONVERSATION_WRITING_EVENT_LIFETIME: u64 = 3;
/// Image size
pub const MAX_CONV_IMAGE_MESSAGE_WIDTH: u32 = 2000;
pub const MAX_CONV_IMAGE_MESSAGE_HEIGHT: u32 = 2000;
/// Thumbnail size
pub const MAX_CONV_MESSAGE_THUMBNAIL_WIDTH: u32 = 300;
pub const MAX_CONV_MESSAGE_THUMBNAIL_HEIGHT: u32 = 300;
}