mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-01 06:26:44 +02:00
load chatlog history when opening a chatwindow
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
|
||||
#define MAX_HISTORY 100000
|
||||
#define MIN_HISTORY 40
|
||||
#define MAX_QUEUE 128
|
||||
#define MAX_LINE_INFO_QUEUE 512
|
||||
|
||||
enum {
|
||||
SYS_MSG,
|
||||
@ -68,7 +68,7 @@ struct history {
|
||||
struct line_info *line_end;
|
||||
uint32_t start_id; /* keeps track of where line_start should be when at bottom of history */
|
||||
|
||||
struct line_info *queue[MAX_QUEUE];
|
||||
struct line_info *queue[MAX_LINE_INFO_QUEUE];
|
||||
int queue_sz;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user