aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_ac.c1
-rw-r--r--src/command/cmd_funcs.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index 508c6f21..99072d8d 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -317,6 +317,7 @@ cmd_ac_init(void)
#endif
#ifdef HAVE_LIBGPGME
autocomplete_add(prefs_ac, "pgp");
+ autocomplete_add(prefs_ac, "ox");
#endif
#ifdef HAVE_OMEMO
autocomplete_add(prefs_ac, "omemo");
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 9d6441b1..f5f2bc90 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -1743,6 +1743,10 @@ cmd_prefs(ProfWin* window, const char* const command, gchar** args)
cons_show("");
cons_show_omemo_prefs();
cons_show("");
+ } else if (strcmp(args[0], "ox") == 0) {
+ cons_show("");
+ cons_show_ox_prefs();
+ cons_show("");
} else {
cons_bad_cmd_usage(command);
}