1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-26 10:43:15 +01:00

Add command to change the Tox ID nospam value

This commit is contained in:
Jfreegman
2015-10-22 19:44:05 -04:00
parent cea5f1fe04
commit 6b97df2615
7 changed files with 23 additions and 8 deletions

View File

@@ -151,6 +151,7 @@ static void help_draw_global(ToxWindow *self)
wprintw(win, " /status <type> <msg> : Set status with optional note\n");
wprintw(win, " /note <msg> : Set a personal note\n");
wprintw(win, " /nick <nick> : Set your nickname\n");
wprintw(win, " /nospam : Change part of your Tox ID to stop spam\n");
wprintw(win, " /log <on> or <off> : Enable/disable logging\n");
wprintw(win, " /group <type> : Create a group chat where type: text | audio\n");
wprintw(win, " /myid : Print your Tox ID\n");
@@ -292,9 +293,9 @@ void help_onKey(ToxWindow *self, wint_t key)
case 'g':
#ifdef AUDIO
help_init_window(self, 24, 80);
help_init_window(self, 25, 80);
#else
help_init_window(self, 20, 80);
help_init_window(self, 21, 80);
#endif
self->help->type = HELP_GLOBAL;
break;