1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 19:36:45 +02:00

show pseudo-unique identifier in friend chat windows

This commit is contained in:
Jfreegman
2014-02-21 21:21:12 -05:00
parent 4294e39b49
commit 2982dc6ddd
4 changed files with 19 additions and 3 deletions

View File

@ -3,12 +3,15 @@
#include "toxic_windows.h"
#define KEY_IDENT_DIGITS 2
typedef struct {
uint8_t name[TOX_MAX_NAME_LENGTH];
uint16_t namelength;
uint8_t statusmsg[TOX_MAX_STATUSMESSAGE_LENGTH];
uint16_t statusmsg_len;
uint8_t pending_groupchat[TOX_CLIENT_ID_SIZE];
uint8_t pub_key[TOX_CLIENT_ID_SIZE];
int num;
int chatwin;
bool active;