From cc81b7892ddc7abad1412d407c25f085fa778ac8 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 31 May 2017 12:40:57 -0600 Subject: [PATCH] Add process_visible() call to maybe_select_closest(). This fixes a regression where we removed a call to unread_ops.process_visible() inside of stream_list.js. Now we call it from within narrow.activate() in the the maybe_select_closest() callback. --- static/js/narrow.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/narrow.js b/static/js/narrow.js index 3fc232a002..a685cd2763 100644 --- a/static/js/narrow.js +++ b/static/js/narrow.js @@ -196,6 +196,7 @@ exports.activate = function (raw_operators, opts) { // narrowing message_viewport.set_message_offset(then_select_offset); } + unread_ops.process_visible(); } }