mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	actions: Sort available_notification_sounds.
os.listdir uses an arbitrary filesystem-dependent order. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Steve Howell
					
				
			
			
				
	
			
			
			
						parent
						
							42a9e473ae
						
					
				
				
					commit
					d13a039b54
				
			@@ -3096,7 +3096,7 @@ def get_available_notification_sounds() -> List[str]:
 | 
			
		||||
        if ext == '.ogg':
 | 
			
		||||
            available_notification_sounds.append(root)
 | 
			
		||||
 | 
			
		||||
    return available_notification_sounds
 | 
			
		||||
    return sorted(available_notification_sounds)
 | 
			
		||||
 | 
			
		||||
def notify_subscriptions_removed(user_profile: UserProfile, streams: Iterable[Stream]) -> None:
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user