mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
slash commands: Remove /settings command.
It's easy enough for power keyboard users to just use "g" to get to settings, and it's certainly easier for mouse users to just go to the menu.
This commit is contained in:
committed by
Steve Howell
parent
5f684bf119
commit
8ffe22fc15
@@ -2,7 +2,6 @@ import $ from "jquery";
|
||||
|
||||
import marked from "../third/marked/lib/marked";
|
||||
|
||||
import * as browser_history from "./browser_history";
|
||||
import * as channel from "./channel";
|
||||
import * as common from "./common";
|
||||
import * as feedback_widget from "./feedback_widget";
|
||||
@@ -189,11 +188,6 @@ export function process(message_content) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (content === "/settings") {
|
||||
browser_history.go_to_location("settings/your-account");
|
||||
return true;
|
||||
}
|
||||
|
||||
// It is incredibly important here to return false
|
||||
// if we don't see an actual zcommand, so that compose.js
|
||||
// knows this is a normal message.
|
||||
|
||||
Reference in New Issue
Block a user