mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
cargo-fmt
This commit is contained in:
@@ -874,7 +874,6 @@ unsafe fn set_draft_raw(context: &Context, chat_id: u32, msg: &mut Message) -> b
|
||||
|
||||
let mut sth_changed = maybe_delete_draft(context, chat_id);
|
||||
|
||||
{
|
||||
// save new draft
|
||||
if msg.type_0 == Viewtype::Text {
|
||||
OK_TO_CONTINUE = msg.text.as_ref().map_or(false, |s| !s.is_empty());
|
||||
@@ -914,7 +913,6 @@ unsafe fn set_draft_raw(context: &Context, chat_id: u32, msg: &mut Message) -> b
|
||||
sth_changed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
sth_changed
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user