Ignore:
Timestamp:
2015-05-28T05:26:30Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
0864a52
Parents:
dd43c62
git-author:
dequis <dx@…> (08-05-15 03:26:19)
git-committer:
dequis <dx@…> (28-05-15 05:26:30)
Message:

Simplify display of gmail notifications

  • Add gmail_notifications_limit hidden setting, set to 5 by default.
  • Don't show "snippets" in email notifications. Not very useful and they make the whole thing seem too spammy
  • Show sender name instead of your own email
  • Default values for empty subject / sender
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rdd43c62 rfaeb521  
    103103        s = set_add(&acc->set, "gmail_notifications", "false", set_eval_bool, acc);
    104104        s->flags |= ACC_SET_OFFLINE_ONLY;
     105
     106        /* changing this is rarely needed so keeping it secret */
     107        s = set_add(&acc->set, "gmail_notifications_limit", "5", set_eval_int, acc);
     108        s->flags |= SET_HIDDEN_DEFAULT;
    105109
    106110        s = set_add(&acc->set, "notify_handle", NULL, NULL, acc);
Note: See TracChangeset for help on using the changeset viewer.