From c655ff32e2af82220cb56311582b68d98b5e85ec Mon Sep 17 00:00:00 2001 From: Athozus Date: Sun, 4 Jun 2023 12:29:39 +0200 Subject: [PATCH] Fix drafts deleting/duplicating (#96) --- ui/compose.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/compose.lua b/ui/compose.lua index 3b65a40..9187d10 100644 --- a/ui/compose.lua +++ b/ui/compose.lua @@ -29,6 +29,8 @@ function mail.show_compose(name, to, subject, body, cc, bcc, id) if id then msg_id[name] = id + else + msg_id[name] = nil end minetest.show_formspec(name, FORMNAME, formspec)