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

groupchat keys can sometimes start with a 0

This commit is contained in:
Jfreegman
2014-07-02 13:46:57 -04:00
parent 95d09e4b75
commit 0f37e50419
6 changed files with 11 additions and 9 deletions

View File

@ -49,7 +49,8 @@ typedef struct {
uint16_t namelength;
uint8_t statusmsg[TOX_MAX_STATUSMESSAGE_LENGTH];
uint16_t statusmsg_len;
uint8_t pending_groupchat[TOX_CLIENT_ID_SIZE];
uint8_t groupchat_key[TOX_CLIENT_ID_SIZE];
bool groupchat_pending;
uint8_t pub_key[TOX_CLIENT_ID_SIZE];
int32_t num;
int chatwin;