mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	minor: Update stream_list comment.
This commit is contained in:
		@@ -395,11 +395,11 @@ exports.update_stream_sidebar_for_narrow = function (filter) {
 | 
			
		||||
    const stream_li = exports.get_stream_li(stream_id);
 | 
			
		||||
 | 
			
		||||
    if (!stream_li) {
 | 
			
		||||
        // It should be the case then when we have a subscribed
 | 
			
		||||
        // This is a sanity check.  When we narrow to a subscribed
 | 
			
		||||
        // stream, there will always be a stream list item
 | 
			
		||||
        // corresponding to that stream in our sidebar.  We have
 | 
			
		||||
        // evidence that this assumption breaks down for some users,
 | 
			
		||||
        // but we are not clear why it happens.
 | 
			
		||||
        // corresponding to that stream in our sidebar.  This error
 | 
			
		||||
        // stopped appearing from March 2018 until at least
 | 
			
		||||
        // April 2020, so if it appears again, something regressed.
 | 
			
		||||
        blueslip.error('No stream_li for subscribed stream ' + stream_id);
 | 
			
		||||
        topic_zoom.clear_topics();
 | 
			
		||||
        return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user