mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 15:26:30 +03:00
change ChatInfo.archived to tri-state
and add to the changelog
This commit is contained in:
@@ -1203,7 +1203,8 @@ pub unsafe extern "C" fn dc_archive_chat(
|
||||
1 => ArchiveState::Archived,
|
||||
2 => ArchiveState::Pinned,
|
||||
_ => {
|
||||
ffi_context.warning("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