From b7cf928615feef8c07146059c757f0f2fecf605c Mon Sep 17 00:00:00 2001 From: Evy Kassirer Date: Wed, 8 Oct 2025 15:54:14 -0700 Subject: [PATCH] scheduled_messages: Force save drafts of any length when scheduling. Previously, if you wrote a two character message and attempted to schedule it, there would be an assertion error on the draft_id because we don't allow saving drafts with messages less than two characters without force_save=true. --- web/src/compose.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/compose.ts b/web/src/compose.ts index ed8db6f0b4..0c05613db4 100644 --- a/web/src/compose.ts +++ b/web/src/compose.ts @@ -435,6 +435,7 @@ function schedule_message_to_custom_date(): void { no_notify: true, update_count: false, is_sending_saving: true, + force_save: true, }); assert(draft_id !== undefined);