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:
Steve Howell
2021-07-07 12:50:46 +00:00
committed by Steve Howell
parent 5f684bf119
commit 8ffe22fc15
4 changed files with 0 additions and 17 deletions

View File

@@ -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.