change ChatInfo.archived to tri-state

and add to the changelog
This commit is contained in:
Simon Laux
2020-02-12 11:08:43 +01:00
committed by B. Petersen
parent 2e8409f146
commit 6efe8e7d7c
4 changed files with 21 additions and 9 deletions

View File

@@ -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;
}
};