mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 22:06:29 +03:00
rename to ChatVisibility, simplify ffi
This commit is contained in:
@@ -393,7 +393,7 @@ mod tests {
|
||||
assert_eq!(chats.len(), 0);
|
||||
|
||||
chat_id1
|
||||
.set_archive_state(&t.ctx, ArchiveState::Archived)
|
||||
.set_visibility(&t.ctx, ChatVisibility::Archived)
|
||||
.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