summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index e6877002..4a806e8c 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -518,6 +518,11 @@ uint8_t m_get_self_userstatus(const Messenger *m);
518 */ 518 */
519int m_set_avatar(Messenger *m, uint8_t format, const uint8_t *data, uint32_t length); 519int m_set_avatar(Messenger *m, uint8_t format, const uint8_t *data, uint32_t length);
520 520
521/* Unsets the user avatar.
522
523 returns 0 on success (currently always returns 0) */
524int m_unset_avatar(Messenger *m);
525
521/* Get avatar data from the current user. 526/* Get avatar data from the current user.
522 * Copies the current user avatar data to the destination buffer and sets the image format 527 * Copies the current user avatar data to the destination buffer and sets the image format
523 * accordingly. 528 * accordingly.