message_scroll: Fix broken call to hide_empty_narrow_message.

This was broken when moving the code being called to another file.

This exception caused a pretty weird/nasty bug by interrupting the
message_fetch response handler before it finished updating the
fetch_status data strutures.  The end result was that in views where
the "history limited notice" was displayed, local echo would be broken
a confusing notice would be displayed.
This commit is contained in:
Tim Abbott
2020-06-18 12:34:48 -07:00
parent 817ee5c6b2
commit d32e8276d2

View File

@@ -44,7 +44,7 @@ exports.hide_indicators = function () {
exports.show_history_limit_notice = function () { exports.show_history_limit_notice = function () {
$(".top-messages-logo").hide(); $(".top-messages-logo").hide();
$(".history-limited-box").show(); $(".history-limited-box").show();
exports.hide_empty_narrow_message(); narrow.hide_empty_narrow_message();
}; };
exports.hide_history_limit_notice = function () { exports.hide_history_limit_notice = function () {