mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-08 00:36:34 +01:00
fixed groupchat join but
This commit is contained in:
@@ -259,7 +259,7 @@ void cmd_join(WINDOW *window, ToxWindow *prompt, Tox *m, int argc, char **argv)
|
||||
|
||||
uint8_t *groupkey = pending_grp_requests[num];
|
||||
|
||||
if (strlen(groupkey) != TOX_CLIENT_ID_SIZE) { /* Improve this test */
|
||||
if (!strlen(groupkey)) {
|
||||
wprintw(window, "No pending group chat invite with that number.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user