1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 19:16:35 +01:00

add ability for founder to set group privacy state

This commit is contained in:
Jfreegman
2015-05-22 21:41:32 -04:00
parent 0481f43746
commit 29d0384a90
5 changed files with 53 additions and 4 deletions

View File

@@ -246,6 +246,7 @@ static void help_draw_group(ToxWindow *self)
wprintw(win, " /chatid : Print the group chat id to share with others.\n");
wprintw(win, " /ignore <nick> : Ignore peer\n");
wprintw(win, " /passwd <password> : Set group password (leave blank to unset)\n");
wprintw(win, " /privacy <state> : Set group privacy state: private|public\n");
wprintw(win, " /rejoin : Rejoin the group\n");
wprintw(win, " /topic <msg> : Set group topic (show current topic if no msg)\n");
wprintw(win, " /unignore <nick> : Unignore peer \n");
@@ -308,7 +309,7 @@ void help_onKey(ToxWindow *self, wint_t key)
break;
case 'r':
help_init_window(self, 12, 80);
help_init_window(self, 13, 80);
self->help->type = HELP_GROUP;
break;