Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
reify_message_id: Save id on most up-to-date message object.
evykassirer59a743de015d
diff --git a/web/src/message_store.ts b/web/src/message_store.tsindex e816f999b8e..46ef2b1ed96 100644--- a/web/src/message_store.ts+++ b/web/src/message_store.ts@@ -275,6 +275,8 @@ export function update_status_emoji_info(export function reify_message_id({old_id, new_id}: {old_id: number; new_id: number}): void {const message = stored_messages.get(old_id);if (message !== undefined) {+ message.id = new_id;+ message.locally_echoed = false;stored_messages.set(new_id, message);stored_messages.delete(old_id);}