1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-22 23:03:25 +01:00

Re-add /group command

Another one lost in a rebase
This commit is contained in:
jfreegman 2021-11-12 10:13:32 -05:00
parent fa075f1972
commit 4f26171e3f
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
2 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,8 @@ static struct cmd_func global_commands[] = {
{ "/connect", cmd_connect },
{ "/decline", cmd_decline },
{ "/exit", cmd_quit },
{ "/conference", cmd_conference },
{ "/conference",cmd_conference },
{ "/group", cmd_groupchat },
#ifdef GAMES
{ "/game", cmd_game },
#endif
@ -123,7 +124,7 @@ static struct cmd_func conference_commands[] = {
static struct cmd_func groupchat_commands[] = {
{ "/chatid", cmd_chatid },
{ "/disconnect", cmd_disconnect },
{ "/disconnect",cmd_disconnect },
{ "/ignore", cmd_ignore },
{ "/kick", cmd_kick },
{ "/mod", cmd_mod },

View File

@ -188,6 +188,7 @@ static void help_draw_global(ToxWindow *self)
wprintw(win, " /log <on> or <off> : Enable/disable logging\n");
wprintw(win, " /conference <type> : Create a conference where type: text | audio\n");
wprintw(win, " /myid : Print your Tox ID\n");
wprintw(win, " /group <name> : Create a new group chat\n");
#ifdef GAMES
wprintw(win, " /game : Play a game\n");
#endif /* GAMES */