mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
Currently, we save a draft copy in case message send fails on server but this only saves a copy of message when it has savable message length. Short message doesn't save a copy and throws an error. This commit introduces a new option `force_save` to `update_draft` and saves any message regardless of message length if passed true.