diff --git a/deltachat-ffi/src/lib.rs b/deltachat-ffi/src/lib.rs index 4c2004d29..c217d6125 100644 --- a/deltachat-ffi/src/lib.rs +++ b/deltachat-ffi/src/lib.rs @@ -1045,9 +1045,8 @@ pub unsafe extern "C" fn dc_send_text_msg( pub unsafe extern "C" fn dc_can_send_edit_request( context: *mut dc_context_t, msg_id: u32, - new_text: *const libc::c_char, ) -> libc::c_int { - if context.is_null() || new_text.is_null() { + if context.is_null() { eprintln!("ignoring careless call to dc_can_send_edit_request()"); return 0; }