mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 19:43:26 +01:00
update group api call
This commit is contained in:
parent
2acd99b04c
commit
9385f1145f
@ -341,7 +341,7 @@ void cmd_groupchat(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*arg
|
||||
snprintf(name, sizeof(name), "%s", argv[1]);
|
||||
}
|
||||
|
||||
int groupnum = tox_group_new(m, (uint8_t *) name, len);
|
||||
int groupnum = tox_group_new(m, TOX_GP_PUBLIC, (uint8_t *) name, len);
|
||||
|
||||
if (groupnum == -1) {
|
||||
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Group chat instance failed to initialize.");
|
||||
|
Loading…
Reference in New Issue
Block a user