Changes in protocols/purple/purple.c [b38f655:2dd23da]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
rb38f655 r2dd23da 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;243 240 } 244 241 … … 335 332 336 333 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 }341 334 } 342 335 … … 1262 1255 struct im_connection *ic = purple_ic_by_gc(gc); 1263 1256 1264 imcb_ notify_email(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url);1257 imcb_log(ic, "Received e-mail from %s for %s: %s <%s>", from, to, subject, url); 1265 1258 1266 1259 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.