summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authorGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-20 15:25:26 -0700
committerGregory Mullen (grayhatter) <greg@grayhatter.com>2016-08-22 03:12:47 -0700
commita6f2e9539b9f73e40076fe85d8f1152b279142e7 (patch)
tree85caf73237df61a020e1d56420cf46403a43957a /toxcore/tox.c
parent3f0c1017714eb8b5114ee5d0caaa5bc453217d09 (diff)
Make Message received receipts stateless
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index 2cccf125..b1308d90 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -890,10 +890,10 @@ uint32_t tox_friend_send_message(Tox *tox, uint32_t friend_number, TOX_MESSAGE_T
890 return message_id; 890 return message_id;
891} 891}
892 892
893void tox_callback_friend_read_receipt(Tox *tox, tox_friend_read_receipt_cb *function, void *user_data) 893void tox_callback_friend_read_receipt(Tox *tox, tox_friend_read_receipt_cb *function)
894{ 894{
895 Messenger *m = tox; 895 Messenger *m = tox;
896 m_callback_read_receipt(m, function, user_data); 896 m_callback_read_receipt(m, function);
897} 897}
898 898
899void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *function, void *user_data) 899void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *function, void *user_data)