diff --git a/core/Messenger.h b/core/Messenger.h index d2fa8945..634b1c8b 100644 --- a/core/Messenger.h +++ b/core/Messenger.h @@ -188,6 +188,10 @@ void m_callback_namechange(void (*function)(int, uint8_t *, uint16_t)); you are not responsible for freeing newstatus */ void m_callback_statusmessage(void (*function)(int, uint8_t *, uint16_t)); +/* set the callback for status type changes + function(int friendnumber, USERSTATUS kind) */ +void m_callback_userstatus(void (*function)(int, USERSTATUS)) + /* set the callback for read receipts function(int friendnumber, uint32_t receipt) if you are keeping a record of returns from m_sendmessage,