summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorzugz (tox) <mbays+tox@sdf.org>2018-09-09 23:27:39 +0200
committerzugz (tox) <mbays+tox@sdf.org>2018-11-29 21:52:23 +0100
commit9770880e975a09635a461c46c8fcc193bce57004 (patch)
tree8c7aa3c3ee8d264a3fdd97d8a5c49caa25f5da0b /toxcore/tox.c
parentcaca350f435cf6a2a3778c64771dafdb7dde8b7a (diff)
Implement conferences saving
* add global friend_connection status callback, used for group rejoining * stop leaving groups on killing tox
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 629cc1c5..88a9bd50 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -1533,6 +1533,7 @@ uint32_t tox_conference_new(Tox *tox, Tox_Err_Conference_New *error)
1533bool tox_conference_delete(Tox *tox, uint32_t conference_number, Tox_Err_Conference_Delete *error) 1533bool tox_conference_delete(Tox *tox, uint32_t conference_number, Tox_Err_Conference_Delete *error)
1534{ 1534{
1535 Messenger *m = tox->m; 1535 Messenger *m = tox->m;
1536 group_leave(m->conferences_object, conference_number);
1536 int ret = del_groupchat(m->conferences_object, conference_number); 1537 int ret = del_groupchat(m->conferences_object, conference_number);
1537 1538
1538 if (ret == -1) { 1539 if (ret == -1) {