diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 5c7f34fbb5..7b2a322a4c 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -946,7 +946,7 @@ $(function () { $("#home").on("click", ".narrows_by_subject", function (e) { var nearest = current_msg_list.get(rows.id($(this).closest(".recipient_row"))); var selected = current_msg_list.selected_message(); - if (util.same_stream_and_subject(nearest, selected)) { + if (util.same_recipient(nearest, selected)) { narrow.by_subject(selected.id); } else { narrow.by_subject(nearest.id);