Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zcommand: Rename enter_day_mode to switch_to_light_theme.
Sahil Batra30a82e12480f
diff --git a/static/js/zcommand.js b/static/js/zcommand.jsindex e93494e9297..32ae898ad61 100644--- a/static/js/zcommand.js+++ b/static/js/zcommand.js@@ -59,7 +59,7 @@ export function tell_user(msg) {$("#compose-error-msg").text(msg);}-export function enter_day_mode() {+export function switch_to_light_theme() {send({command: "/day",on_success(data) {@@ -168,7 +168,7 @@ export function process(message_content) {const day_commands = ["/day", "/light"];if (day_commands.includes(content)) {- enter_day_mode();+ switch_to_light_theme();return true;}