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

Add group callbacks for password, peerlimit and privacy state changes

This commit is contained in:
Jfreegman
2015-07-14 02:07:52 -04:00
parent a846c38695
commit 23bb980173
7 changed files with 106 additions and 8 deletions

View File

@@ -575,11 +575,9 @@ static void init_tox_callbacks(Tox *m)
tox_callback_group_peer_exit(m, on_group_peer_exit, NULL);
tox_callback_group_peer_name(m, on_group_nick_change, NULL);
tox_callback_group_topic(m, on_group_topic_change, NULL);
// tox_callback_group_peer_limit(m, on_group_peer_limit, NULL);
// tox_callback_group_privacy_state(m, on_group_privacy_state, NULL);
// tox_callback_group_password(m, on_group_password, NULL);
tox_callback_group_peer_limit(m, on_group_peer_limit, NULL);
tox_callback_group_privacy_state(m, on_group_privacy_state, NULL);
tox_callback_group_password(m, on_group_password, NULL);
tox_callback_group_self_join(m, on_group_self_join, NULL);
tox_callback_group_join_fail(m, on_group_rejected, NULL);
tox_callback_group_moderation(m, on_group_moderation, NULL);