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

testing groupchat stuff

This commit is contained in:
Jfreegman
2013-11-25 18:49:31 -05:00
parent 8dabfdc2da
commit 5e37ddc0f8
5 changed files with 69 additions and 10 deletions

View File

@@ -6,13 +6,14 @@
#define CHATBOX_HEIGHT 4
/* Limits # of peers in sidepanel (make this go away) */
#define MAX_GROUP_PEERS 100
#define MAX_GROUP_PEERS 500
typedef struct {
int chatwin;
bool active;
int num_peers;
uint8_t peer_names[MAX_GROUP_PEERS][TOX_MAX_NAME_LENGTH];
uint8_t oldpeer_names[MAX_GROUP_PEERS][TOX_MAX_NAME_LENGTH];
} GroupChat;
int init_groupchat_win(ToxWindow *prompt, Tox *m, int groupnum);