mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 14:03:30 +00:00 
			
		
		
		
	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:
		@@ -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 () {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user