diff options
author | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-08-20 15:25:26 -0700 |
---|---|---|
committer | Gregory Mullen (grayhatter) <greg@grayhatter.com> | 2016-08-22 03:12:47 -0700 |
commit | a6f2e9539b9f73e40076fe85d8f1152b279142e7 (patch) | |
tree | 85caf73237df61a020e1d56420cf46403a43957a /toxcore/tox.c | |
parent | 3f0c1017714eb8b5114ee5d0caaa5bc453217d09 (diff) |
Make Message received receipts stateless
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 4 |
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 | ||
893 | void tox_callback_friend_read_receipt(Tox *tox, tox_friend_read_receipt_cb *function, void *user_data) | 893 | void 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 | ||
899 | void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *function, void *user_data) | 899 | void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *function, void *user_data) |