mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	narrow: Remove unnecessary select_first_unread option.
We consistently either pass a `then_select_id` into narrow.activate, or were using the select_first_unread option. Now, we just compute select_first_unread based on the value of then_select_id.
This commit is contained in:
		@@ -607,7 +607,6 @@ exports.process_hotkey = function (e, hotkey) {
 | 
			
		||||
            return true;
 | 
			
		||||
        case 'narrow_private':
 | 
			
		||||
            return do_narrow_action(function (target, opts) {
 | 
			
		||||
                opts = _.defaults({}, opts, {select_first_unread: true});
 | 
			
		||||
                narrow.by('is', 'private', opts);
 | 
			
		||||
            });
 | 
			
		||||
        case 'query_streams':
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user