1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 07:26:35 +01:00

Add settings option to disable friend connection change notifications

This commit is contained in:
Jfreegman
2016-02-25 17:06:49 -05:00
parent 93835f0455
commit a474e3bf39
8 changed files with 39 additions and 7 deletions

View File

@@ -46,6 +46,7 @@ struct user_settings {
int show_typing_self; /* boolean */
int show_typing_other; /* boolean */
int show_welcome_msg; /* boolean */
int show_connection_msg; /* boolean */
char line_join[LINE_HINT_MAX + 1];
char line_quit[LINE_HINT_MAX + 1];
@@ -97,6 +98,9 @@ enum {
SHOW_WELCOME_MSG_OFF = 0,
SHOW_WELCOME_MSG_ON = 1,
SHOW_CONNECTION_MSG_OFF = 0,
SHOW_CONNECTION_MSG_ON = 1,
DFLT_HST_SIZE = 700,
MPLEX_OFF = 0,