mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
Make dc_msg_is_starred() return bool
This commit is contained in:
@@ -246,11 +246,7 @@ unsafe fn log_msg(context: &Context, prefix: impl AsRef<str>, msg: *mut dc_msg_t
|
||||
as_str(contact_name),
|
||||
contact_id,
|
||||
as_str(msgtext),
|
||||
if 0 != dc_msg_is_starred(msg) {
|
||||
"★"
|
||||
} else {
|
||||
""
|
||||
},
|
||||
if dc_msg_is_starred(msg) { "★" } else { "" },
|
||||
if dc_msg_get_from_id(msg) == 1 as libc::c_uint {
|
||||
""
|
||||
} else if dc_msg_get_state(msg) == DC_STATE_IN_SEEN {
|
||||
|
||||
Reference in New Issue
Block a user