mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 07:16:31 +03:00
address some of flubs comments
This commit is contained in:
@@ -2845,6 +2845,10 @@ char* dc_chat_get_profile_image (const dc_chat_t* chat);
|
||||
uint32_t dc_chat_get_color (const dc_chat_t* chat);
|
||||
|
||||
|
||||
#define DC_CHAT_ARCHIVE_STATE_NORMAL 0
|
||||
#define DC_CHAT_ARCHIVE_STATE_ARCHIVED 1
|
||||
#define DC_CHAT_ARCHIVE_STATE_PINNED 2
|
||||
|
||||
/**
|
||||
* Get archived state.
|
||||
*
|
||||
|
||||
@@ -1203,7 +1203,7 @@ pub unsafe extern "C" fn dc_archive_chat(
|
||||
1 => ArchiveState::Archived,
|
||||
2 => ArchiveState::Pinned,
|
||||
_ => {
|
||||
eprintln!("ignoring careless call to dc_archive_chat(): unknown archived state");
|
||||
ffi_context.warning("ignoring careless call to dc_archive_chat(): unknown archived state");
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user