diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 5 |
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 | */ |
497 | int m_set_avatar(Messenger *m, uint8_t format, const uint8_t *data, uint32_t length); | 497 | int 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) */ | ||
502 | int 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. |