diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index 101494cc..750a52fa 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -1290,6 +1290,10 @@ bool tox_conference_invite(Tox *tox, uint32_t friend_number, uint32_t conference | |||
1290 | case -2: | 1290 | case -2: |
1291 | SET_ERROR_PARAMETER(error, TOX_ERR_CONFERENCE_INVITE_FAIL_SEND); | 1291 | SET_ERROR_PARAMETER(error, TOX_ERR_CONFERENCE_INVITE_FAIL_SEND); |
1292 | return false; | 1292 | return false; |
1293 | |||
1294 | case -3: | ||
1295 | SET_ERROR_PARAMETER(error, TOX_ERR_CONFERENCE_INVITE_NO_CONNECTION); | ||
1296 | return false; | ||
1293 | } | 1297 | } |
1294 | 1298 | ||
1295 | SET_ERROR_PARAMETER(error, TOX_ERR_CONFERENCE_INVITE_OK); | 1299 | SET_ERROR_PARAMETER(error, TOX_ERR_CONFERENCE_INVITE_OK); |