mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +03:00
Remove context refernce from Chatlist
See #476 aka a0b5e32f98 for full
rationale. Tl;dr it allows us to evolve the Rust API while keeping
the FFI API identical.
This commit is contained in:
committed by
Floris Bruynooghe
parent
8302d6833d
commit
5ce27b16f1
@@ -592,7 +592,7 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E
|
||||
temp_subtitle,
|
||||
chat::get_fresh_msg_cnt(context, chat.get_id()),
|
||||
);
|
||||
let lot = chatlist.get_summary(i, Some(&chat));
|
||||
let lot = chatlist.get_summary(context, i, Some(&chat));
|
||||
let statestr = if chat.is_archived() {
|
||||
" [Archived]"
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user