mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Rename Chat.archive() into Chat.set_archived()
This commit is contained in:
@@ -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(())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user