summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toxcore/Makefile.inc2
-rw-r--r--toxcore/Messenger.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/Makefile.inc b/toxcore/Makefile.inc
index 5a9002ef..025f23c8 100644
--- a/toxcore/Makefile.inc
+++ b/toxcore/Makefile.inc
@@ -25,6 +25,8 @@ libtoxcore_la_SOURCES = ../toxcore/DHT.h \
25 ../toxcore/tox.c \ 25 ../toxcore/tox.c \
26 ../toxcore/util.h \ 26 ../toxcore/util.h \
27 ../toxcore/util.c \ 27 ../toxcore/util.c \
28 ../toxcore/group_chats.h \
29 ../toxcore/group_chats.c \
28 ../toxcore/misc_tools.h 30 ../toxcore/misc_tools.h
29 31
30libtoxcore_la_CFLAGS = -I$(top_srcdir) \ 32libtoxcore_la_CFLAGS = -I$(top_srcdir) \
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index c512245c..40617d08 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 *);