diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 34131a20..dfb3f7c6 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -30,6 +30,7 @@ | |||
30 | #include "DHT.h" | 30 | #include "DHT.h" |
31 | #include "friend_requests.h" | 31 | #include "friend_requests.h" |
32 | #include "LAN_discovery.h" | 32 | #include "LAN_discovery.h" |
33 | #include "group_chats.h" | ||
33 | 34 | ||
34 | #define MAX_NAME_LENGTH 128 | 35 | #define MAX_NAME_LENGTH 128 |
35 | #define MAX_STATUSMESSAGE_LENGTH 1007 | 36 | #define MAX_STATUSMESSAGE_LENGTH 1007 |
@@ -133,6 +134,9 @@ typedef struct Messenger { | |||
133 | Friend *friendlist; | 134 | Friend *friendlist; |
134 | uint32_t numfriends; | 135 | uint32_t numfriends; |
135 | 136 | ||
137 | Group_Chat *chats; | ||
138 | uint32_t numchats; | ||
139 | |||
136 | uint64_t last_LANdiscovery; | 140 | uint64_t last_LANdiscovery; |
137 | 141 | ||
138 | void (*friend_message)(struct Messenger *m, int, uint8_t *, uint16_t, void *); | 142 | void (*friend_message)(struct Messenger *m, int, uint8_t *, uint16_t, void *); |