mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +03:00
Rename Chat.archive() into Chat.set_archived()
This commit is contained in:
@@ -388,7 +388,7 @@ mod tests {
|
||||
let chats = Chatlist::try_load(&t.ctx, DC_GCL_ARCHIVED_ONLY, None, None).unwrap();
|
||||
assert_eq!(chats.len(), 0);
|
||||
|
||||
chat_id1.archive(&t.ctx, true).ok();
|
||||
chat_id1.set_archived(&t.ctx, true).ok();
|
||||
let chats = Chatlist::try_load(&t.ctx, DC_GCL_ARCHIVED_ONLY, None, None).unwrap();
|
||||
assert_eq!(chats.len(), 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user