Display message size in message details

This commit is contained in:
Mark Qvist 2024-09-08 15:17:42 +02:00
parent 12ddf61436
commit 5f6c4c3bea
1 changed files with 3 additions and 0 deletions

View File

@ -115,6 +115,9 @@ class Messages():
d_text = ""
if "lxm" in msg and msg["lxm"] != None:
size_str = RNS.prettysize(msg["lxm"].packed_size)
d_text += f"[size={ss}][b]Message size[/b] {size_str}[/size]\n"
if msg["lxm"].signature_validated:
d_text += f"[size={ss}][b]Signature[/b] validated successfully[/size]\n"
else: