mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 09:27:43 +00:00
This commit addresses the issue where scheduling a message for a time less than 5 minutes in the future resulted in the confirmation banner not displaying the scheduled time, which should have actually been 5 minutes in the future, as enforced at the UI level by the MINIMUM_SCHEDULED_MESSAGE_DELAY_SECONDS variable. We remove the `is_send_later_timestamp_missing_or_expired` method along with it's tests since `selected_send_later_timestamp` is already set to the minimum of 5 minutes in the future through the `minDate` option of the flatpickr. Fixes: #26784. Co-authored-by: Sayam Samal <samal.sayam@gmail.com>
5.5 KiB
5.5 KiB