1
0
mirror of https://github.com/Tha14/toxic.git synced 2026-01-24 16:23:14 +01:00

Implement new groupchats

This commit is contained in:
jfreegman
2020-11-12 21:30:48 -05:00
parent cec96e1ea3
commit 812210d63f
33 changed files with 3273 additions and 23 deletions

View File

@@ -46,6 +46,11 @@ struct ConferenceInvite {
bool pending;
};
struct GroupInvite {
uint8_t *data;
uint16_t length;
};
#ifdef GAMES
struct GameInvite {
@@ -73,14 +78,16 @@ typedef struct {
Tox_User_Status status;
struct LastOnline last_online;
struct ConferenceInvite conference_invite;
#ifdef GAMES
struct GameInvite game_invite;
#endif
FileTransfer file_receiver[MAX_FILES];
FileTransfer file_sender[MAX_FILES];
struct ConferenceInvite conference_invite;
struct GroupInvite group_invite;
struct FileTransfer file_receiver[MAX_FILES];
struct FileTransfer file_sender[MAX_FILES];
PendingFileTransfer file_send_queue[MAX_FILES];
} ToxicFriend;