Build feedback model and expose committed state events

This commit is contained in:
evgeny committed 2026-10-06 20:06:38 +02:00
1 parent 641a8318a8
commit 8121f93d2e
2 files changed
+5

No files matched your search

+4
View File
@@ -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 \
+1
View File
@@ -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);