1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-12 21:26:34 +01:00

add friend group invites

This commit is contained in:
Jfreegman
2015-01-23 00:52:09 -05:00
parent 38e55d55b3
commit ff69cdd253
13 changed files with 131 additions and 12 deletions

View File

@@ -48,6 +48,11 @@ struct LastOnline {
char hour_min_str[TIME_STR_SIZE]; /* holds 12/24-hour time string e.g. "10:43 PM" */
};
struct GroupInvite {
uint8_t data[TOX_GROUP_INVITE_DATA_SIZE];
uint16_t length;
};
typedef struct {
char name[TOXIC_MAX_NAME_LENGTH + 1];
int namelength;
@@ -61,6 +66,7 @@ typedef struct {
uint8_t is_typing;
bool logging_on; /* saves preference for friend irrespective of global settings */
uint8_t status;
struct GroupInvite group_invite;
struct LastOnline last_online;
struct FileReceiver file_receiver[MAX_FILES];
uint8_t active_file_receivers;