aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/jabber.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/jabber/jabber.c')
-rw-r--r--protocols/jabber/jabber.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/jabber/jabber.c b/protocols/jabber/jabber.c
index 184021dd..08da6e26 100644
--- a/protocols/jabber/jabber.c
+++ b/protocols/jabber/jabber.c
@@ -103,6 +103,10 @@ static void jabber_init(account_t *acc)
s = set_add(&acc->set, "gmail_notifications", "false", set_eval_bool, acc);
s->flags |= ACC_SET_OFFLINE_ONLY;
+ /* changing this is rarely needed so keeping it secret */
+ s = set_add(&acc->set, "gmail_notifications_limit", "5", set_eval_int, acc);
+ s->flags |= SET_HIDDEN_DEFAULT;
+
s = set_add(&acc->set, "notify_handle", NULL, NULL, acc);
s->flags |= ACC_SET_OFFLINE_ONLY | SET_NULL_OK;