address some of flubs comments

This commit is contained in:
Simon Laux
2020-02-11 11:54:04 +01:00
committed by B. Petersen
parent ac4b2b9dfe
commit 2e8409f146
5 changed files with 21 additions and 16 deletions

View File

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