recode group- and user-avatar to 192x192 pixel

This commit is contained in:
B. Petersen
2019-12-15 21:17:05 +01:00
committed by holger krekel
parent 9fc556864e
commit a5f949c4e2
4 changed files with 44 additions and 0 deletions

View File

@@ -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 {