mirror of https://github.com/zulip/zulip.git
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:
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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue