mirror of
https://github.com/chatmail/core.git
synced 2026-05-22 16:26:31 +03:00
show forwarded-state in repl-tool
This commit is contained in:
committed by
Floris Bruynooghe
parent
7b958a20fd
commit
4f126c5292
@@ -192,7 +192,7 @@ unsafe fn log_msg(context: &Context, prefix: impl AsRef<str>, msg: &Message) {
|
|||||||
let msgtext = msg.get_text();
|
let msgtext = msg.get_text();
|
||||||
info!(
|
info!(
|
||||||
context,
|
context,
|
||||||
"{}#{}{}{}: {} (Contact#{}): {} {}{}{}{} [{}]",
|
"{}#{}{}{}: {} (Contact#{}): {} {}{}{}{}{} [{}]",
|
||||||
prefix.as_ref(),
|
prefix.as_ref(),
|
||||||
msg.get_id() as libc::c_int,
|
msg.get_id() as libc::c_int,
|
||||||
if msg.get_showpadlock() { "🔒" } else { "" },
|
if msg.get_showpadlock() { "🔒" } else { "" },
|
||||||
@@ -211,6 +211,11 @@ unsafe fn log_msg(context: &Context, prefix: impl AsRef<str>, msg: &Message) {
|
|||||||
"[FRESH]"
|
"[FRESH]"
|
||||||
},
|
},
|
||||||
if msg.is_info() { "[INFO]" } else { "" },
|
if msg.is_info() { "[INFO]" } else { "" },
|
||||||
|
if msg.is_forwarded() {
|
||||||
|
"[FORWARDED]"
|
||||||
|
} else {
|
||||||
|
""
|
||||||
|
},
|
||||||
statestr,
|
statestr,
|
||||||
&temp2,
|
&temp2,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user