aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/command.c')
-rw-r--r--src/command/command.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 0bca4212..fe390fcb 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -921,6 +921,15 @@ static struct cmd_t command_defs[] =
"The message carbons feature ensures that both sides of all conversations are shared with all the user's clients that implement this protocol.",
NULL } } },
+ { "/receipts",
+ cmd_receipts, parse_args, 1, 1, &cons_receipts_setting,
+ { "/reciepts on|off", "Message delivery receipts.",
+ { "/reciepts on|off",
+ "----------------",
+ "Enable or disable message delivery receipts.",
+ "The user interface will indicate when a message has been received.",
+ NULL } } },
+
{ "/reconnect",
cmd_reconnect, parse_args, 1, 1, &cons_reconnect_setting,
{ "/reconnect seconds", "Set reconnect interval.",
@@ -2020,7 +2029,7 @@ _cmd_complete_parameters(const char * const input)
// autocomplete boolean settings
gchar *boolean_choices[] = { "/beep", "/intype", "/states", "/outtype",
"/flash", "/splash", "/chlog", "/grlog", "/mouse", "/history",
- "/vercheck", "/privileges", "/presence", "/wrap", "/carbons" };
+ "/vercheck", "/privileges", "/presence", "/wrap", "/carbons", "/receipts" };
for (i = 0; i < ARRAY_SIZE(boolean_choices); i++) {
result = autocomplete_param_with_func(input, boolean_choices[i], prefs_autocomplete_boolean_choice);