Files
zulip/static/js/drafts.js
Riken Shah 38d9e26a6c refactor: Rename delete_draft_after_send to delete_active_draft.
This commit renames `delete_draft_after_send` to
`delete_active_draft` for two main reasons:

1) This function does the job of deleting the draft that we
are currently using in compose box and it is independent
of the message sending functionality.

2) This is prep refactoring for new drafts behavior where
we delete the draft if the compose box is cleared and
closed.
2021-06-04 09:47:14 -07:00

17 KiB