diff --git a/src/Makefile.am b/src/Makefile.am index 3a5f3800..4b18fa40 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -108,6 +108,10 @@ utun_CORE_SOURCES = \ chat/chat_core.c \ chat/chat_member.c \ chat/chat_msg.c \ + chat/chat_feedback.c \ + chat/chat_feedback.h \ + chat/chat_feedback.c \ + chat/chat_feedback.h \ chat/chat_whisper.c \ chat/chat_channel.c \ chat/chat_profile.c \ diff --git a/src/chat/chat_event.h b/src/chat/chat_event.h index 6c12837d..7299ab3e 100644 --- a/src/chat/chat_event.h +++ b/src/chat/chat_event.h @@ -74,6 +74,7 @@ extern "C" { #define CHAT_EVT_MEMBER_FILES_TRANSFER 50 /* id/group/server/owner/done/total:8LE,status:2LE,state:1 */ #define CHAT_EVT_AVATAR_RESULT 51 /* request_id/group:8LE, failed:1; результат публикации ссылки профиля */ #define CHAT_EVT_GROUP_AVATAR_RESULT 52 /* request_id/group:8LE, failed:1; результат публикации аватарки группы */ +#define CHAT_EVT_FEEDBACK_CHANGED 53 /* [channel_len:1][channel][message_id:32][kind:1] — состояние после commit */ typedef void (*chat_event_handler_fn)(struct UTUN_INSTANCE* inst, int type, const uint8_t* data, int len);