mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
The function body contains only two conditionals, so the 'switch' statements can be replaced with simple 'if's that return immediately, thus making the code block cleaner.