From 7e88277abdebc3c8a345b49da67973ac111028de Mon Sep 17 00:00:00 2001 From: Jascha Date: Fri, 14 Aug 2026 14:22:12 -0700 Subject: [PATCH 1/3] Stop message progress loop when message is rejected The progress loop in handle_lxmf_message_progress upserts the message to the database every second until it reaches a terminal state, but REJECTED was missing from the stop conditions. A rejected message kept re-inserting itself forever, so deleting the conversation history had no effect and the message reappeared on page reload. --- meshchat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshchat.py b/meshchat.py index b3207dc..d574dda 100644 --- a/meshchat.py +++ b/meshchat.py @@ -3031,10 +3031,11 @@ class ReticulumMeshChat: has_delivered = lxmf_message.state == LXMF.LXMessage.DELIVERED has_propagated = lxmf_message.state == LXMF.LXMessage.SENT and lxmf_message.method == LXMF.LXMessage.PROPAGATED has_failed = lxmf_message.state == LXMF.LXMessage.FAILED + has_rejected = lxmf_message.state == LXMF.LXMessage.REJECTED is_cancelled = lxmf_message.state == LXMF.LXMessage.CANCELLED # check if we should stop updating - if has_delivered or has_propagated or has_failed or is_cancelled: + if has_delivered or has_propagated or has_failed or has_rejected or is_cancelled: should_update_message = False # handle an announce received from reticulum, for an audio call address From 3190f3e5a6f61c86341b21c8d65fddcd7e5862f5 Mon Sep 17 00:00:00 2001 From: Andreev Kirill Andreevich Date: Tue, 6 Oct 2026 21:52:10 +0300 Subject: [PATCH 2/3] Fix bug where toggling transport fails if reticulum config section is missing Fixes #173 Signed-off-by: Andreev Kirill Andreevich --- meshchat.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/meshchat.py b/meshchat.py index d574dda..448c7a3 100644 --- a/meshchat.py +++ b/meshchat.py @@ -980,6 +980,10 @@ class ReticulumMeshChat: @routes.post("/api/v1/reticulum/enable-transport") async def index(request): + # ensure reticulum section exists + if "reticulum" not in self.reticulum.config: + self.reticulum.config["reticulum"] = {} + # enable transport mode self.reticulum.config["reticulum"]["enable_transport"] = True self.reticulum.config.write() @@ -992,6 +996,10 @@ class ReticulumMeshChat: @routes.post("/api/v1/reticulum/disable-transport") async def index(request): + # ensure reticulum section exists + if "reticulum" not in self.reticulum.config: + self.reticulum.config["reticulum"] = {} + # disable transport mode self.reticulum.config["reticulum"]["enable_transport"] = False self.reticulum.config.write() From 993786673bfeb00dd229fab6e5cfd2ace790dcf1 Mon Sep 17 00:00:00 2001 From: Matt Moyles Date: Wed, 11 Nov 2026 13:44:48 -0500 Subject: [PATCH 3/3] Update micron-parser to 1.1.0 micron-parser 1.0.2 adds 2px horizontal padding to every span with a background colour, so rows of block or ANSI art with different numbers of colour runs render at different widths. The padding was removed upstream (RFnexus/micron-parser-js#19). 1.1.0 also supports the #!fg/#!bg page default colour headers. --- package-lock.json | 9 +++++---- package.json | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2ebcf4d..f0dcc41 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "click-outside-vue3": "^4.0.1", "compressorjs": "^1.2.1", "electron-prompt": "^1.7.0", - "micron-parser": "^1.0.2", + "micron-parser": "^1.1.0", "mitt": "^3.0.1", "moment": "^2.30.1", "postcss": "^8.4.49", @@ -4184,9 +4184,10 @@ } }, "node_modules/micron-parser": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/micron-parser/-/micron-parser-1.0.2.tgz", - "integrity": "sha512-lYrEolylOUXeSISYrPRW/ZZAH1dpZRyTJ0VzQIA4cWJy0yNCXUUs+ujuAwV2OYlAPH8tCE1Z22+zg04Ilp/JWg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/micron-parser/-/micron-parser-1.1.0.tgz", + "integrity": "sha512-v1CXQkmuxRDz6N0EWcUhPq+FzZ4RBXPO7zEuhrRIBsnOZBjXSZosSRYQyU53DNAPL5SR+xRRFDCGhvR0cexf8A==", + "license": "MIT", "dependencies": { "dompurify": "*" } diff --git a/package.json b/package.json index 87ac588..f102884 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "click-outside-vue3": "^4.0.1", "compressorjs": "^1.2.1", "electron-prompt": "^1.7.0", - "micron-parser": "^1.0.2", + "micron-parser": "^1.1.0", "mitt": "^3.0.1", "moment": "^2.30.1", "postcss": "^8.4.49",