mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
recent_topics: Update stored message id of locally echoed messages.
This fixes the bug that message was undefined since we used to store locally echoed message id and were not updating it after new message id for the same message was received from the server.
This commit is contained in:
@@ -272,6 +272,7 @@ exports.reify_message_id = function (local_id, server_id) {
|
||||
|
||||
message_store.reify_message_id(opts);
|
||||
notifications.reify_message_id(opts);
|
||||
recent_topics.reify_message_id_if_available(opts);
|
||||
};
|
||||
|
||||
exports.process_from_server = function (messages) {
|
||||
|
||||
Reference in New Issue
Block a user