mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 11:56:30 +03:00
cargo fmt
This commit is contained in:
@@ -472,7 +472,7 @@ pub fn dc_msg_load_from_db<'a>(msg: *mut dc_msg_t<'a>, context: &'a Context, id:
|
|||||||
(*msg).type_0 = row.get(12)?;
|
(*msg).type_0 = row.get(12)?;
|
||||||
(*msg).state = row.get(13)?;
|
(*msg).state = row.get(13)?;
|
||||||
(*msg).is_dc_message = row.get(14)?;
|
(*msg).is_dc_message = row.get(14)?;
|
||||||
|
|
||||||
let text;
|
let text;
|
||||||
if let rusqlite::types::ValueRef::Text(buf) = row.get_raw(15) {
|
if let rusqlite::types::ValueRef::Text(buf) = row.get_raw(15) {
|
||||||
if let Ok(t) = String::from_utf8(buf.to_vec()) {
|
if let Ok(t) = String::from_utf8(buf.to_vec()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user