1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-22 17:13:02 +01:00

Change conference invite, accept, Add NGC join, invite, accept

This commit is contained in:
Tha14 2022-12-13 17:35:33 +02:00
parent fbdc20dfa5
commit 8d125d5e6b
No known key found for this signature in database
GPG Key ID: C2B875C3A9D53CFC

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, " /log <on> or <off> : Enable/disable logging\n");
wprintw(win, " /myid : Print your Tox ID\n"); wprintw(win, " /myid : Print your Tox ID\n");
wprintw(win, " /group <name> : Create a new group chat\n"); wprintw(win, " /group <name> : Create a new group chat\n");
wprintw(win, " /join <chatid> : Join a groupchat using a Chat ID\n");
#ifdef GAMES #ifdef GAMES
wprintw(win, " /game : Play a game\n"); wprintw(win, " /game : Play a game\n");
#endif /* GAMES */ #endif /* GAMES */
@ -245,8 +246,10 @@ static void help_draw_chat(ToxWindow *self)
wprintw(win, "Chat Commands:\n"); wprintw(win, "Chat Commands:\n");
wattroff(win, A_BOLD | COLOR_PAIR(RED)); wattroff(win, A_BOLD | COLOR_PAIR(RED));
wprintw(win, " /invite <n> : Invite contact to a conference \n"); wprintw(win, " /cinvite <n> : Invite contact to a conference \n");
wprintw(win, " /join : Join a pending conference\n"); wprintw(win, " /cjoin : Join a pending conference\n");
wprintw(win, " /invite <n> : Invite contact to a groupchat \n");
wprintw(win, " /gaccept <password> : Accept a pending groupchat invite\n");
wprintw(win, " /sendfile <path> : Send a file\n"); wprintw(win, " /sendfile <path> : Send a file\n");
wprintw(win, " /savefile <id> : Receive a file\n"); wprintw(win, " /savefile <id> : Receive a file\n");
wprintw(win, " /cancel <type> <id> : Cancel file transfer where type: in|out\n"); wprintw(win, " /cancel <type> <id> : Cancel file transfer where type: in|out\n");
@ -435,13 +438,13 @@ void help_onKey(ToxWindow *self, wint_t key)
#elif AUDIO #elif AUDIO
help_init_window(self, 21, 80); help_init_window(self, 21, 80);
#else #else
help_init_window(self, 11, 80); help_init_window(self, 13, 80);
#endif #endif
self->help->type = HELP_CHAT; self->help->type = HELP_CHAT;
break; break;
case L'g': case L'g':
height = 22; height = 23;
#ifdef VIDEO #ifdef VIDEO
height += 8; height += 8;
#elif AUDIO #elif AUDIO