mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-31 21:56:20 +00:00
Added sub to /notify preferences output
Removed unused "status" value for /notify autocompleter
This commit is contained in:
@@ -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"));
|
||||||
|
|||||||
@@ -946,19 +946,24 @@ cons_show_desktop_prefs(void)
|
|||||||
cons_show("");
|
cons_show("");
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_NOTIFY_MESSAGE))
|
if (prefs_get_boolean(PREF_NOTIFY_MESSAGE))
|
||||||
cons_show("Messages (/notify message) : ON");
|
cons_show("Messages (/notify message) : ON");
|
||||||
else
|
else
|
||||||
cons_show("Messages (/notify message) : OFF");
|
cons_show("Messages (/notify message) : OFF");
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_NOTIFY_TYPING))
|
if (prefs_get_boolean(PREF_NOTIFY_TYPING))
|
||||||
cons_show("Composing (/notify typing) : ON");
|
cons_show("Composing (/notify typing) : ON");
|
||||||
else
|
else
|
||||||
cons_show("Composing (/notify typing) : OFF");
|
cons_show("Composing (/notify typing) : OFF");
|
||||||
|
|
||||||
if (prefs_get_boolean(PREF_NOTIFY_INVITE))
|
if (prefs_get_boolean(PREF_NOTIFY_INVITE))
|
||||||
cons_show("Room invites (/notify invite) : ON");
|
cons_show("Room invites (/notify invite) : ON");
|
||||||
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user