1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Added sub to /notify preferences output

Removed unused "status" value for /notify autocompleter
This commit is contained in:
James Booth 2013-05-19 02:15:35 +01:00
parent d300e8e763
commit 6c4b21beb1
2 changed files with 11 additions and 7 deletions

View File

@ -853,7 +853,6 @@ cmd_init(void)
autocomplete_add(notify_ac, strdup("remind")); autocomplete_add(notify_ac, strdup("remind"));
autocomplete_add(notify_ac, strdup("invite")); autocomplete_add(notify_ac, strdup("invite"));
autocomplete_add(notify_ac, strdup("sub")); autocomplete_add(notify_ac, strdup("sub"));
autocomplete_add(notify_ac, strdup("status"));
sub_ac = autocomplete_new(); sub_ac = autocomplete_new();
autocomplete_add(sub_ac, strdup("request")); autocomplete_add(sub_ac, strdup("request"));

View File

@ -960,6 +960,11 @@ cons_show_desktop_prefs(void)
else else
cons_show("Room invites (/notify invite) : OFF"); cons_show("Room invites (/notify invite) : OFF");
if (prefs_get_boolean(PREF_NOTIFY_SUB))
cons_show("Subscription requests (/notify sub) : ON");
else
cons_show("Subscription requests (/notify sub) : OFF");
gint remind_period = prefs_get_notify_remind(); gint remind_period = prefs_get_notify_remind();
if (remind_period == 0) { if (remind_period == 0) {
cons_show("Reminder period (/notify remind) : OFF"); cons_show("Reminder period (/notify remind) : OFF");