1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 07:06:44 +02:00

core API update and refactor group invites a bit

This commit is contained in:
Jfreegman
2014-09-27 22:50:20 -04:00
parent 784883f773
commit 05661ca9b6
7 changed files with 44 additions and 20 deletions

View File

@ -48,13 +48,17 @@ struct LastOnline {
char hour_min_str[TIME_STR_SIZE]; /* holds 12/24-hour time string e.g. "10:43 PM" */
};
struct GroupChatInvite {
char *key;
uint16_t length;
bool pending;
};
typedef struct {
char name[TOXIC_MAX_NAME_LENGTH];
int namelength;
char statusmsg[TOX_MAX_STATUSMESSAGE_LENGTH];
uint16_t statusmsg_len;
char groupchat_key[TOX_CLIENT_ID_SIZE];
bool groupchat_pending;
char pub_key[TOX_CLIENT_ID_SIZE];
int32_t num;
int chatwin;
@ -65,6 +69,7 @@ typedef struct {
uint8_t status;
struct LastOnline last_online;
struct FileReceiver file_receiver[MAX_FILES];
struct GroupChatInvite group_invite;
uint8_t active_file_receivers;
} ToxicFriend;