Ignore:
Timestamp:
2015-06-17T22:47:26Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Children:
b441614
Parents:
d832164 (diff), 2f99f23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/master' into parson

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    rd832164 rb75671d  
    238238                s = set_add(&acc->set, "mail_notifications", "false", set_eval_bool, acc);
    239239                s->flags |= ACC_SET_OFFLINE_ONLY;
     240
     241                s = set_add(&acc->set, "mail_notifications_handle", NULL, NULL, acc);
     242                s->flags |= ACC_SET_OFFLINE_ONLY | SET_NULL_OK;
    240243        }
    241244
     
    337340
    338341        purple_account_set_enabled(pd->account, "BitlBee", TRUE);
     342
     343        if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "mail_notifications_handle")) {
     344                imcb_add_buddy(ic, set_getstr(&acc->set, "mail_notifications_handle"), NULL);
     345        }
    339346}
    340347
     
    12601267        struct im_connection *ic = purple_ic_by_gc(gc);
    12611268
    1262         imcb_log(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url);
     1269        imcb_notify_email(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url);
    12631270
    12641271        return NULL;
Note: See TracChangeset for help on using the changeset viewer.