summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-19 21:49:04 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-19 21:53:40 +0100
commit51d18236c8effffb14ffe6c5e3f738c1ceb1ae25 (patch)
treee18ff983aba08aee690cc001f7cf4928a94f80d3 /toxcore/tox.h
parent67ac9138ab773728f0a8d1093aaa80d40a9f9efc (diff)
Revert "Make ToxAV stateless"
This reverts commit 21f8db12c45bd56293262cd4abfb73cd9abec821. It is currently broken. Incoming call callbacks are not invoked, and instead the client goes offline immediately.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 268ae779..47573302 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -1237,10 +1237,6 @@ typedef enum TOX_ERR_FRIEND_DELETE {
1237 * function, this client will appear offline to the friend and no communication 1237 * function, this client will appear offline to the friend and no communication
1238 * can occur between the two. 1238 * can occur between the two.
1239 * 1239 *
1240 * WARNING, calling tox_friend_delete while there's an active ToxAV call will
1241 * result in undefined behavior. It's the client's responsibility to end all
1242 * ToxAV calls before deleting a friend.
1243 *
1244 * @param friend_number Friend number for the friend to be deleted. 1240 * @param friend_number Friend number for the friend to be deleted.
1245 * 1241 *
1246 * @return true on success. 1242 * @return true on success.