summaryrefslogtreecommitdiff
path: root/other/apidsl
diff options
context:
space:
mode:
authorGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-22 14:44:58 -0700
committerGregory Mullen (grayhatter) <greg@grayhatter.com>2016-09-06 02:22:04 -0700
commitaad1e0ad3f96786e0fb10d8dd144e5e6ebe93258 (patch)
tree963477c57148626140286ac278369ef3af60811f /other/apidsl
parente7d3a1a665d1204d15b00fdbe6716b43d8ef3b4a (diff)
Make friend requests stateless
Messenger is slightly twisty when it comes to sending connection status callbacks It will very likely need at the very least a partial refactor to clean it up a bit. Toxcore shouldn't need void *userdata as deep as is currently does. (amend 1) Because of the nature of toxcore connection callbacks, I decided to change this commit from statelessness for connections changes to statelessness for friend requests. It's simpler this was and doesn't include doing anything foolish in the time between commits. group fixup because grayhatter doesn't want to do it "arguably correct" is not how you write security sensitive code Clear a compiler warning about types within a function.
Diffstat (limited to 'other/apidsl')
-rw-r--r--other/apidsl/tox.in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/apidsl/tox.in.h b/other/apidsl/tox.in.h
index a280348a..a8c7ef69 100644
--- a/other/apidsl/tox.in.h
+++ b/other/apidsl/tox.in.h
@@ -1532,7 +1532,7 @@ namespace friend {
1532 /** 1532 /**
1533 * This event is triggered when a friend request is received. 1533 * This event is triggered when a friend request is received.
1534 */ 1534 */
1535 event request { 1535 event request const {
1536 /** 1536 /**
1537 * @param public_key The Public Key of the user who sent the friend request. 1537 * @param public_key The Public Key of the user who sent the friend request.
1538 * @param time_delta A delta in seconds between when the message was composed 1538 * @param time_delta A delta in seconds between when the message was composed