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