mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 17:06:35 +03:00
Use DC_MSG_ID_LAST_SPECIAL in dc_continue_key_transfer
This commit is contained in:
committed by
holger krekel
parent
60bd053095
commit
b93550f6c8
@@ -254,7 +254,7 @@ pub fn dc_create_setup_code(_context: &Context) -> String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub unsafe fn dc_continue_key_transfer(context: &Context, msg_id: u32, setup_code: &str) -> bool {
|
pub unsafe fn dc_continue_key_transfer(context: &Context, msg_id: u32, setup_code: &str) -> bool {
|
||||||
if msg_id <= 9i32 as libc::c_uint {
|
if msg_id <= DC_MSG_ID_LAST_SPECIAL {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user