mirror of https://github.com/zulip/zulip.git
459ce92109
Before this commit, the message or any draft is deleted as soon as the compose box is closed. So, it removes that by removing delete_active_drafts and instead this commit will add the deletion process of drafts in reify_message_id that is called when a message is successfully sent and received. Now, see there are two types of messages, one that are locally echoed and the second ones are that aren't locally echoed but sent directly to server. This commit only saves the message in draft if it is locally echoed as they are the only messages that show message failed in message list. The non locally echoed ones aren't remove from the compose box until they are successfully sent. Now as the draft-id is stored in the message data for locally echoed messages, as they are echoed from the server, they are deleted using that draft-id. This also adds node tests for echo reify_message_id for testing this feature that this commit is adding. Fixes #17697 |
||
---|---|---|
.. | ||
admin.ts | ||
compose.ts | ||
copy-and-paste.ts | ||
custom-profile.ts | ||
delete-message.ts | ||
drafts.ts | ||
edit.ts | ||
mention.ts | ||
message-basics.ts | ||
navigation.ts | ||
realm-creation.ts | ||
realm-linkifier.ts | ||
realm-playground.ts | ||
settings.ts | ||
stars.ts | ||
subscriptions.ts | ||
user-deactivation.ts | ||
user-status.ts |