summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/tox.c9
-rw-r--r--toxcore/tox.h5
2 files changed, 0 insertions, 14 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index a43a9554..775fa4cb 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -324,15 +324,6 @@ uint8_t tox_get_is_typing(const Tox *tox, int32_t friendnumber)
324 return m_get_istyping(m, friendnumber); 324 return m_get_istyping(m, friendnumber);
325} 325}
326 326
327/* Sets whether we send read receipts for friendnumber.
328 * This function is not lazy, and it will fail if yesno is not (0 or 1).
329 */
330void tox_set_sends_receipts(Tox *tox, int32_t friendnumber, int yesno)
331{
332 Messenger *m = tox;
333 m_set_sends_receipts(m, friendnumber, yesno);
334}
335
336/* Return the number of friends in the instance m. 327/* Return the number of friends in the instance m.
337 * You should use this to determine how much memory to allocate 328 * You should use this to determine how much memory to allocate
338 * for copy_friendlist. */ 329 * for copy_friendlist. */
diff --git a/toxcore/tox.h b/toxcore/tox.h
index c9a6bc70..5810c128 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -267,11 +267,6 @@ int tox_set_user_is_typing(Tox *tox, int32_t friendnumber, uint8_t is_typing);
267 */ 267 */
268uint8_t tox_get_is_typing(const Tox *tox, int32_t friendnumber); 268uint8_t tox_get_is_typing(const Tox *tox, int32_t friendnumber);
269 269
270/* Sets whether we send read receipts for friendnumber.
271 * This function is not lazy, and it will fail if yesno is not (0 or 1).
272 */
273void tox_set_sends_receipts(Tox *tox, int32_t friendnumber, int yesno);
274
275/* Return the number of friends in the instance m. 270/* Return the number of friends in the instance m.
276 * You should use this to determine how much memory to allocate 271 * You should use this to determine how much memory to allocate
277 * for copy_friendlist. */ 272 * for copy_friendlist. */