diff options
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r-- | toxcore/tox.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c index e8ec593b..a0873a4c 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c | |||
@@ -820,6 +820,12 @@ int tox_set_avatar(Tox *tox, uint8_t format, const uint8_t *data, uint32_t lengt | |||
820 | return m_set_avatar(m, format, data, length); | 820 | return m_set_avatar(m, format, data, length); |
821 | } | 821 | } |
822 | 822 | ||
823 | int tox_unset_avatar(Tox *tox) | ||
824 | { | ||
825 | Messenger *m = tox; | ||
826 | return m_unset_avatar(m); | ||
827 | } | ||
828 | |||
823 | int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t *length, uint32_t maxlen, uint8_t *hash) | 829 | int tox_get_self_avatar(const Tox *tox, uint8_t *format, uint8_t *buf, uint32_t *length, uint32_t maxlen, uint8_t *hash) |
824 | { | 830 | { |
825 | const Messenger *m = tox; | 831 | const Messenger *m = tox; |