mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-15 07:16:34 +01:00
add command to list pending friend requests, a few related fixes
This commit is contained in:
@@ -138,6 +138,7 @@ static void help_draw_global(ToxWindow *self)
|
||||
|
||||
wprintw(win, " /add <addr> <msg> : Add contact with optional message\n");
|
||||
wprintw(win, " /accept <id> : Accept friend request\n");
|
||||
wprintw(win, " /requests : List pending friend requests\n");
|
||||
wprintw(win, " /connect <ip> <port> <key> : Manually connect to a DHT node\n");
|
||||
wprintw(win, " /status <type> <msg> : Set status with optional note\n");
|
||||
wprintw(win, " /note <msg> : Set a personal note\n");
|
||||
@@ -264,9 +265,9 @@ void help_onKey(ToxWindow *self, wint_t key)
|
||||
|
||||
case 'g':
|
||||
#ifdef _AUDIO
|
||||
help_init_window(self, 21, 80);
|
||||
help_init_window(self, 22, 80);
|
||||
#else
|
||||
help_init_window(self, 17, 80);
|
||||
help_init_window(self, 18, 80);
|
||||
#endif
|
||||
self->help->type = HELP_GLOBAL;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user