mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
Extract notifications.reify_message_id().
This removes the last need for a message_id_changed event.
This commit is contained in:
@@ -203,8 +203,7 @@ exports.reify_message_id = function reify_message_id(local_id, server_id) {
|
||||
var opts = {old_id: local_id, new_id: server_id};
|
||||
|
||||
message_store.reify_message_id(opts);
|
||||
|
||||
$(document).trigger($.Event('message_id_changed', opts));
|
||||
notifications.reify_message_id(opts);
|
||||
};
|
||||
|
||||
exports.process_from_server = function process_from_server(messages) {
|
||||
|
||||
Reference in New Issue
Block a user