From 60c77ddf6cb5674bc34d9af1dc09e9c4f1e1c26a Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 21 Mar 2018 13:09:45 -0400 Subject: [PATCH] Update message_list.all in do_backfill(). --- static/js/message_fetch.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/static/js/message_fetch.js b/static/js/message_fetch.js index 729eb0b1e6..41004f70a9 100644 --- a/static/js/message_fetch.js +++ b/static/js/message_fetch.js @@ -188,6 +188,9 @@ exports.do_backfill = function (opts) { var msg_list = opts.msg_list; msg_list.fetch_status.start_older_batch(); + if (msg_list === home_msg_list) { + message_list.all.fetch_status.start_older_batch(); + } var anchor = exports.get_backfill_anchor(msg_list).toFixed(); @@ -200,6 +203,11 @@ exports.do_backfill = function (opts) { msg_list.fetch_status.finish_older_batch({ found_oldest: data.found_oldest, }); + if (msg_list === home_msg_list) { + message_list.all.fetch_status.finish_older_batch({ + found_oldest: data.found_oldest, + }); + } if (opts.cont) { opts.cont(); }