zulip/web
Sayam Samal b8d4bddacf echo: Fix handling of locally_echoed flag after successful msg resend.
The `on_success` function within `echo.resend_message` is executed when
the server successfully acknowledges a resent message. In this scenario,
the `locally_echoed` flag should be set to false, as the message has
been confirmed by the server.

This behavior is already correctly handled within the
`echo.reify_message_id()` function, which is triggered through the
`compose.send_message_success()` flow.

However, the on_success function incorrectly sets the `locally_echoed`
flag to true, which is unnecessary and likely a mistake. This led to
the bug where message controls would disappear from the resent messages
on slow networks.

This commit removes the erroneous line to ensure proper flag handling
during message resend.
2024-09-16 13:06:30 -07:00
..
e2e-tests cleanup: Remove remaining CSS, JS .new-style references. 2024-09-11 14:22:45 -07:00
generated
html 5xx: Remove duplicate error_page class applied on page. 2024-07-03 13:35:12 -07:00
images thumbnail: Show the right spinner based on dark/light mode. 2024-07-21 18:41:59 -07:00
server katex_server: Fix implicit use of any. 2024-05-04 18:53:34 -07:00
shared send_later_popover: Update calendar days icon. 2024-07-19 14:13:12 -07:00
src echo: Fix handling of locally_echoed flag after successful msg resend. 2024-09-16 13:06:30 -07:00
styles echo: Update message controls dynamically for failed messages. 2024-09-16 13:06:30 -07:00
templates echo: Update message controls dynamically for failed messages. 2024-09-16 13:06:30 -07:00
tests user_groups: Add creator and date_created field in user groups. 2024-09-13 18:44:58 -07:00
third bootstrap-btn: Remove unnecessary warning, danger styles. 2024-09-11 14:22:45 -07:00
.browserslistrc
.gitignore emoji: Convert spritesheets to webp. 2024-09-11 09:03:47 -07:00
babel.config.js dependencies: Upgrade JavaScript dependencies. 2024-04-25 16:46:03 -07:00
debug-require-webpack-plugin.ts debug-require-webpack-plugin: Add null check for TypeScript. 2024-08-26 07:44:14 -07:00
debug-require.js
postcss.config.js eslint: Fix unicorn/no-anonymous-default-export. 2024-04-25 16:46:03 -07:00
webpack.assets.json support: Set discounted price instead percentage for customers. 2024-05-16 02:18:43 -07:00
webpack.config.ts emoji: Convert spritesheets to webp. 2024-09-11 09:03:47 -07:00
webpack.dev-assets.json development: Update modal in emails page to use micromodal. 2023-10-05 09:28:27 -07:00