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 38543b36..4a5a5ae7 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -496,6 +496,11 @@ uint8_t m_get_self_userstatus(const Messenger *m);
496 */ 496 */
497int m_set_avatar(Messenger *m, uint8_t format, const uint8_t *data, uint32_t length); 497int m_set_avatar(Messenger *m, uint8_t format, const uint8_t *data, uint32_t length);
498 498
499/* Unsets the user avatar.
500
501 returns 0 on success (currently always returns 0) */
502int m_unset_avatar(Messenger *m);
503
499/* Get avatar data from the current user. 504/* Get avatar data from the current user.
500 * Copies the current user avatar data to the destination buffer and sets the image format 505 * Copies the current user avatar data to the destination buffer and sets the image format
501 * accordingly. 506 * accordingly.