1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 16:46:46 +02:00

add setting to disable welcome message

This commit is contained in:
Jfreegman
2014-09-19 01:06:18 -04:00
parent daf4614ba6
commit 9ee7a48910
8 changed files with 27 additions and 7 deletions

View File

@ -35,6 +35,7 @@ struct user_settings {
int history_size; /* int between MIN_HISTORY and MAX_HISTORY */
int show_typing_self; /* boolean */
int show_typing_other; /* boolean */
int show_welcome_msg; /* boolean */
char download_path[PATH_MAX];
char chatlogs_path[PATH_MAX];
@ -74,6 +75,9 @@ enum {
SHOW_TYPING_OFF = 0,
SHOW_TYPING_ON = 1,
SHOW_WELCOME_MSG_OFF = 0,
SHOW_WELCOME_MSG_ON = 1,
DFLT_HST_SIZE = 700,
} settings_values;