Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

actions: Sort available_notification_sounds.

Anders Kaseorgd13a039b549e
diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py
index 5e2b060e348..d05f06b49fd 100644
--- a/zerver/lib/actions.py
+++ b/zerver/lib/actions.py
@@ -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: