mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 05:20:36 +01:00
Display message size in message details
This commit is contained in:
parent
12ddf61436
commit
5f6c4c3bea
@ -115,6 +115,9 @@ class Messages():
|
|||||||
d_text = ""
|
d_text = ""
|
||||||
|
|
||||||
if "lxm" in msg and msg["lxm"] != None:
|
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:
|
if msg["lxm"].signature_validated:
|
||||||
d_text += f"[size={ss}][b]Signature[/b] validated successfully[/size]\n"
|
d_text += f"[size={ss}][b]Signature[/b] validated successfully[/size]\n"
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user