Print info about forwarded message
This commit is contained in:
parent
eeb7f6d3fd
commit
7d61e25a3b
@ -613,7 +613,9 @@ void print_service_message (struct message *M) {
|
|||||||
print_start ();
|
print_start ();
|
||||||
push_color (COLOR_GREY);
|
push_color (COLOR_GREY);
|
||||||
|
|
||||||
|
push_color (COLOR_MAGENTA);
|
||||||
print_date (M->date);
|
print_date (M->date);
|
||||||
|
pop_color ();
|
||||||
printf (" ");
|
printf (" ");
|
||||||
print_chat_name (M->to_id, user_chat_get (M->to_id));
|
print_chat_name (M->to_id, user_chat_get (M->to_id));
|
||||||
printf (" ");
|
printf (" ");
|
||||||
@ -706,6 +708,11 @@ void print_message (struct message *M) {
|
|||||||
printf (" »»» ");
|
printf (" »»» ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (M->fwd_from_id) {
|
||||||
|
printf ("[fwd from ");
|
||||||
|
print_user_name (M->fwd_from_id, user_chat_get (M->fwd_from_id));
|
||||||
|
printf ("] ");
|
||||||
|
}
|
||||||
if (M->message && strlen (M->message)) {
|
if (M->message && strlen (M->message)) {
|
||||||
printf ("%s", M->message);
|
printf ("%s", M->message);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user