mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
Avoid unstable `inner_deref' feature
This commit is contained in:
committed by
Floris Bruynooghe
parent
765ac2005e
commit
bc2314586c
@@ -1025,7 +1025,7 @@ unsafe fn set_draft_raw(context: &Context, chat_id: uint32_t, msg: *mut dc_msg_t
|
||||
time(),
|
||||
(*msg).type_0,
|
||||
DC_STATE_OUT_DRAFT,
|
||||
(*msg).text.deref().unwrap_or(""),
|
||||
(*msg).text.as_ref().map(String::as_str).unwrap_or(""),
|
||||
(*msg).param.to_string(),
|
||||
1,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user