From 1db3133f0d9bc67e6b943c6040e4e06535ad78f0 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Wed, 8 Nov 2023 00:16:45 +0100 Subject: [PATCH] Fixed markup not being activated in command messages --- sbapp/ui/messages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sbapp/ui/messages.py b/sbapp/ui/messages.py index e240301..1cbfd56 100644 --- a/sbapp/ui/messages.py +++ b/sbapp/ui/messages.py @@ -181,6 +181,7 @@ class Messages(): extra_content = "" extra_telemetry = {} telemeter = None + force_markup = False signature_valid = False if "lxm" in m and m["lxm"] != None and m["lxm"].signature_validated: @@ -203,6 +204,7 @@ class Messages(): if Commands.SIGNAL_REPORT in command: extra_content = "[font=RobotoMono-Regular]> sig[/font]\n" extra_content = extra_content[:-1] + force_markup = True except Exception as e: RNS.log("Error while generating command display: "+str(e), RNS.LOG_ERROR) @@ -293,7 +295,6 @@ class Messages(): heading_str += rcvd_d_str pre_content = "" - force_markup = False if not signature_valid: identity_known = False if RNS.Identity.recall(m["hash"]) != None: