mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +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);
|
let mut sth_changed = maybe_delete_draft(context, chat_id);
|
||||||
|
|
||||||
{
|
|
||||||
// save new draft
|
// save new draft
|
||||||
if msg.type_0 == Viewtype::Text {
|
if msg.type_0 == Viewtype::Text {
|
||||||
OK_TO_CONTINUE = msg.text.as_ref().map_or(false, |s| !s.is_empty());
|
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 = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
sth_changed
|
sth_changed
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user