feat: message info: add database msg ID

We have recently removed it from the normal "message info" dialog
at least on Delta Chat Desktop, so without this one can't easily find
the ID of a particular message,
which is useful for debugging.
This commit is contained in:
WofWca
2026-05-29 15:33:14 +04:00
parent 0bc7849e8a
commit 7a60c79301
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -324,6 +324,7 @@ SELECT ?1, rfc724_mid, pre_rfc724_mid, timestamp, ?, ? FROM msgs WHERE id=?1
if duration != 0 {
ret += &format!("Duration: {duration} ms\n",);
}
ret += &format!("\nDatabase ID: {}", msg.id);
if !msg.rfc724_mid.is_empty() {
ret += &format!("\nMessage-ID: {}", msg.rfc724_mid);