diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index a4e203c1a9..bbf8344c9f 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -556,9 +556,11 @@ function add_message_metadata(message, dummy) { $.each(involved_people, function (idx, person) { // Do the hasOwnProperty() call via the prototype to avoid problems // with keys like "hasOwnProperty" - if (!typeahead_helper.known_to_typeahead(person) && people_dict[person.email] === undefined) { + if (people_dict[person.email] === undefined) { add_person(person); - typeahead_helper.autocomplete_needs_update(true); + if (!typeahead_helper.known_to_typeahead(person)) { + typeahead_helper.autocomplete_needs_update(true); + } } });