diff options
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index e81c1714..45421829 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -620,7 +620,7 @@ cmd_help(gchar **args, struct cmd_help_t help) "/chlog", "/flash", "/gone", "/grlog", "/history", "/intype", "/log", "/mouse", "/notify", "/outtype", "/prefs", "/priority", "/reconnect", "/roster", "/splash", "/states", "/statuses", "/theme", - "/titlebar", "/vercheck", "/privileges", "/occupants" }; + "/titlebar", "/vercheck", "/privileges", "/occupants", "/presence" }; _cmd_show_filtered_help("Settings commands", filter, ARRAY_SIZE(filter)); } else if (strcmp(args[0], "navigation") == 0) { @@ -2923,6 +2923,12 @@ cmd_beep(gchar **args, struct cmd_help_t help) } gboolean +cmd_presence(gchar **args, struct cmd_help_t help) +{ + return _cmd_set_boolean_preference(args[0], help, "Contact presence", PREF_PRESENCE); +} + +gboolean cmd_states(gchar **args, struct cmd_help_t help) { gboolean result = _cmd_set_boolean_preference(args[0], help, "Sending chat states", |