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

show self in group when it's first created

This commit is contained in:
Jfreegman
2015-04-14 01:59:39 -04:00
2 changed files with 10 additions and 4 deletions

View File

@@ -712,10 +712,11 @@ static Tox *load_toxic(char *data_path)
queue_init_message("Falling back to ipv4");
tox_opts.ipv6_enabled = false;
m = load_tox(data_path, &tox_opts, &new_err);
} else if (new_err != TOX_ERR_NEW_OK) {
exit_toxic_err("Tox network failed to initialize (tox_new failed with error %d)", new_err);
}
if (new_err != TOX_ERR_NEW_OK)
exit_toxic_err("Tox network failed to initialize (tox_new failed with error %d)", new_err);
init_tox_callbacks(m);
load_friendlist(m);
load_blocklist(BLOCK_FILE);