Rename Chat.archive() into Chat.set_archived()

This commit is contained in:
Alexander Krotov
2020-01-25 20:52:15 +03:00
parent a2845f44ab
commit 889327b5f6
4 changed files with 11 additions and 11 deletions

View File

@@ -1146,7 +1146,7 @@ pub unsafe extern "C" fn dc_archive_chat(
ffi_context
.with_inner(|ctx| {
ChatId::new(chat_id)
.archive(ctx, archive)
.set_archived(ctx, archive)
.log_err(ctx, "Failed archive chat")
.unwrap_or(())
})