diff options
-rw-r--r-- | toxcore/Messenger.c | 5 | ||||
-rw-r--r-- | toxcore/Messenger.h | 4 |
2 files changed, 0 insertions, 9 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 7ff2c2b3..ac25d669 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c | |||
@@ -842,11 +842,6 @@ static void set_friend_typing(const Messenger *m, int32_t friendnumber, uint8_t | |||
842 | m->friendlist[friendnumber].is_typing = is_typing; | 842 | m->friendlist[friendnumber].is_typing = is_typing; |
843 | } | 843 | } |
844 | 844 | ||
845 | void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata) | ||
846 | { | ||
847 | logger_callback_log(m->log, function, context, userdata); | ||
848 | } | ||
849 | |||
850 | /* Set the function that will be executed when a friend request is received. */ | 845 | /* Set the function that will be executed when a friend request is received. */ |
851 | void m_callback_friendrequest(Messenger *m, m_friend_request_cb *function) | 846 | void m_callback_friendrequest(Messenger *m, m_friend_request_cb *function) |
852 | { | 847 | { |
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 548d8654..8cab9801 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -481,10 +481,6 @@ int m_set_usertyping(Messenger *m, int32_t friendnumber, uint8_t is_typing); | |||
481 | */ | 481 | */ |
482 | int m_get_istyping(const Messenger *m, int32_t friendnumber); | 482 | int m_get_istyping(const Messenger *m, int32_t friendnumber); |
483 | 483 | ||
484 | /* Set the logger callback. | ||
485 | */ | ||
486 | void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata); | ||
487 | |||
488 | /* Set the function that will be executed when a friend request is received. | 484 | /* Set the function that will be executed when a friend request is received. |
489 | * Function format is function(uint8_t * public_key, uint8_t * data, size_t length) | 485 | * Function format is function(uint8_t * public_key, uint8_t * data, size_t length) |
490 | */ | 486 | */ |