1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-15 12:26:34 +01:00

add command to decline friend requests

This commit is contained in:
Jfreegman
2014-08-25 14:08:01 -04:00
parent 092df2c0e4
commit 68f1dffba7
7 changed files with 43 additions and 7 deletions

View File

@@ -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, " /decline <id> : Decline 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");
@@ -265,9 +266,9 @@ void help_onKey(ToxWindow *self, wint_t key)
case 'g':
#ifdef _AUDIO
help_init_window(self, 22, 80);
help_init_window(self, 23, 80);
#else
help_init_window(self, 18, 80);
help_init_window(self, 19, 80);
#endif
self->help->type = HELP_GLOBAL;
break;