add dc_msg_is_truncated and dc_msg_get_full_text

This commit is contained in:
Simon Laux
2019-11-04 23:28:58 +01:00
parent 67e2e4d415
commit 3927fa399e
5 changed files with 65 additions and 5 deletions

View File

@@ -189,7 +189,7 @@ unsafe fn log_msg(context: &Context, prefix: impl AsRef<str>, msg: &Message) {
_ => "",
};
let temp2 = dc_timestamp_to_str(msg.get_timestamp());
let msgtext = msg.get_text();
let msgtext = msg.get_text(false);
info!(
context,
"{}#{}{}{}: {} (Contact#{}): {} {}{}{}{}{} [{}]",