Changeset 0f7eccff for protocols/purple/purple.c
- Timestamp:
- 2015-05-31T00:11:20Z (9 years ago)
- Branches:
- master
- Children:
- 6e21525
- Parents:
- c42d991 (diff), f453a7f (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
rc42d991 r0f7eccff 238 238 s = set_add(&acc->set, "mail_notifications", "false", set_eval_bool, acc); 239 239 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; 240 243 } 241 244 … … 332 335 333 336 purple_account_set_enabled(pd->account, "BitlBee", TRUE); 337 338 if (set_getbool(&acc->set, "mail_notifications") && set_getstr(&acc->set, "mail_notifications_handle")) { 339 imcb_add_buddy(ic, set_getstr(&acc->set, "mail_notifications_handle"), NULL); 340 } 334 341 } 335 342 … … 1255 1262 struct im_connection *ic = purple_ic_by_gc(gc); 1256 1263 1257 imcb_ log(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url);1264 imcb_notify_email(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url); 1258 1265 1259 1266 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.