Replace DC_MOVE_* constants with enum

This commit is contained in:
Dmitry Bogatov
2019-08-08 22:24:16 +00:00
committed by holger krekel
parent d323bd3593
commit 24b025f573
6 changed files with 29 additions and 17 deletions

View File

@@ -229,7 +229,7 @@ unsafe fn cb_precheck_imf(
"[move] detected moved message {}",
as_str(rfc724_mid),
);
dc_update_msg_move_state(context, rfc724_mid, DC_MOVE_STATE_STAY);
dc_update_msg_move_state(context, rfc724_mid, MoveState::Stay);
}
if as_str(old_server_folder) != server_folder || old_server_uid != server_uid {
dc_update_server_uid(context, rfc724_mid, server_folder, server_uid);