mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 14:36:29 +03:00
recode group- and user-avatar to 192x192 pixel
This commit is contained in:
committed by
holger krekel
parent
9fc556864e
commit
a5f949c4e2
@@ -184,6 +184,9 @@ pub const DC_VC_CONTACT_CONFIRM: i32 = 6;
|
||||
pub const DC_BOB_ERROR: i32 = 0;
|
||||
pub const DC_BOB_SUCCESS: i32 = 1;
|
||||
|
||||
// max. width/height of an avatar
|
||||
pub const AVATAR_SIZE: u32 = 192;
|
||||
|
||||
#[derive(Debug, Display, Clone, Copy, PartialEq, Eq, FromPrimitive, ToPrimitive, FromSql, ToSql)]
|
||||
#[repr(i32)]
|
||||
pub enum Viewtype {
|
||||
|
||||
Reference in New Issue
Block a user