mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 00:46:31 +03:00
move can_send_edit_request() to send_edit_request()
This commit is contained in:
@@ -1052,7 +1052,7 @@ pub unsafe extern "C" fn dc_can_send_edit_request(
|
||||
}
|
||||
let ctx = &*context;
|
||||
|
||||
block_on(message::can_send_edit_request(ctx, MsgId::new(msg_id)))
|
||||
block_on(chat::can_send_edit_request(ctx, MsgId::new(msg_id)))
|
||||
.log_err(ctx)
|
||||
.unwrap_or_default() as libc::c_int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user