mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
use dc_add_device_msg() also to add labels-only, this is clearer as having a function with 'skip' in the name
This commit is contained in:
@@ -837,7 +837,7 @@ pub unsafe fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::E
|
||||
);
|
||||
let mut msg = Message::new(Viewtype::Text);
|
||||
msg.set_text(Some(arg1.to_string()));
|
||||
chat::add_device_msg(context, None, &mut msg)?;
|
||||
chat::add_device_msg(context, None, Some(&mut msg))?;
|
||||
}
|
||||
"listmedia" => {
|
||||
ensure!(sel_chat.is_some(), "No chat selected.");
|
||||
|
||||
Reference in New Issue
Block a user