Remove /tiny command

boothj5 gave his okay too.

Fix https://github.com/profanity-im/profanity/issues/1370
This commit is contained in:
Michael Vetter
2020-07-10 17:48:34 +02:00
parent b6361ddeab
commit 39315483a8
6 changed files with 0 additions and 217 deletions

View File

@@ -64,7 +64,6 @@
#include "plugins/plugins.h"
#include "tools/autocomplete.h"
#include "tools/parser.h"
#include "tools/tinyurl.h"
#include "ui/ui.h"
#include "ui/window_list.h"
#include "xmpp/xmpp.h"
@@ -979,22 +978,6 @@ static struct cmd_t command_defs[] = {
"/sub request",
"/sub sent") },
{ "/tiny",
parse_args, 1, 1, NULL,
CMD_NOSUBFUNCS
CMD_MAINFUNC(cmd_tiny)
CMD_TAGS(
CMD_TAG_CHAT,
CMD_TAG_GROUPCHAT)
CMD_SYN(
"/tiny <url>")
CMD_DESC(
"Send url as tinyurl in current chat.")
CMD_ARGS(
{ "<url>", "The url to make tiny." })
CMD_EXAMPLES(
"Example: /tiny https://profanity-im.github.io/") },
{ "/who",
parse_args, 0, 2, NULL,
CMD_NOSUBFUNCS