mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
We have logic in place to update the ui for re-sending messages on recieving the acknowledgement from the server on that API call. However, if the acknowledgement is recieved through the get events request before the `on_success` of `resend_message`, the message gets re-rendered allowing the failed message actions to be clickable. Now, we update the ".message_failed" ui for both cases. This helps in preventing the "Trying to get local_id from row that has reified message id" exception. Fixes #15351.