diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-02-08 12:50:38 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-02-09 00:18:30 +0000 |
commit | a940f26293fa33284cddd8b8f6f449ebdab40df7 (patch) | |
tree | 1058ec47b525c437c49b8265c5f59679c41d07e6 /toxcore/tox.h | |
parent | 0fbdb03f409f97299d27ba014b554e6313c5fb7f (diff) |
Adopt the "change occurred" API change from isotoxin-groupchat.
The logic and behaviour remain the same, but PEER_EXIT and PEER_JOIN are
merged into LIST_CHANGED. This allows clients to take a first step to
adapt to the API change without us having to actually submit the full
change, yet.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r-- | toxcore/tox.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h index 567ce7e5..012a3510 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h | |||
@@ -2393,14 +2393,10 @@ void tox_callback_conference_title(Tox *tox, tox_conference_title_cb *callback); | |||
2393 | typedef enum TOX_CONFERENCE_STATE_CHANGE { | 2393 | typedef enum TOX_CONFERENCE_STATE_CHANGE { |
2394 | 2394 | ||
2395 | /** | 2395 | /** |
2396 | * A peer has joined the conference. | 2396 | * Some changes to list have occurred. Rebuild of list required. |
2397 | * peer_number is undefined (always 0 for api compatibility) | ||
2397 | */ | 2398 | */ |
2398 | TOX_CONFERENCE_STATE_CHANGE_PEER_JOIN, | 2399 | TOX_CONFERENCE_STATE_CHANGE_LIST_CHANGED, |
2399 | |||
2400 | /** | ||
2401 | * A peer has exited the conference. | ||
2402 | */ | ||
2403 | TOX_CONFERENCE_STATE_CHANGE_PEER_EXIT, | ||
2404 | 2400 | ||
2405 | /** | 2401 | /** |
2406 | * A peer has changed their name. | 2402 | * A peer has changed their name. |