mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user