cargo fmt

This commit is contained in:
B. Petersen
2019-10-27 11:42:56 +01:00
parent 8015ba1d64
commit 51f43842cf

View File

@@ -715,10 +715,7 @@ pub unsafe extern "C" fn dc_get_chat_id_by_contact_id(
}
let ffi_context = &*context;
ffi_context
.with_inner(|ctx| {
chat::get_by_contact_id(ctx, contact_id)
.unwrap_or(0)
})
.with_inner(|ctx| chat::get_by_contact_id(ctx, contact_id).unwrap_or(0))
.unwrap_or(0)
}