edit: Fix traceback when saving edits to unsent messages.

7b0c6459b4 accidentally failed to update
one of the calleers of update_private_messages, resulting in this code
path failing consistently.

Fixes #2416.
This commit is contained in:
aakash-cr7 2016-11-29 15:53:43 +00:00 committed by Tim Abbott
parent c5316b4002
commit d99b17070e
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ exports.edit_locally = function edit_locally(message, raw_content, new_topic) {
message_list.narrowed.view.rerender_messages([message]);
}
stream_list.update_streams_sidebar();
stream_list.update_private_messages();
pm_list.update_private_messages();
};
exports.reify_message_id = function reify_message_id(local_id, server_id) {