mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 05:46:29 +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 {
|
||||
if msg_id <= 9i32 as libc::c_uint {
|
||||
if msg_id <= DC_MSG_ID_LAST_SPECIAL {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user