Changes in protocols/purple/purple.c [93e0901:b38f655]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/purple/purple.c
r93e0901 rb38f655 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 … … 261 264 } 262 265 purple_accounts_remove(pa); 263 264 /* Last, some protocols want their contact lists locally. */265 if (strcmp(acc->prpl->name, "whatsapp") == 0 || strcmp(acc->prpl->name, "gg") == 0) {266 acc->flags |= ACC_FLAG_LOCAL_CONTACTS;267 }268 266 } 269 267 … … 337 335 338 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 } 339 341 } 340 342 … … 1260 1262 struct im_connection *ic = purple_ic_by_gc(gc); 1261 1263 1262 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); 1263 1265 1264 1266 return NULL;
Note: See TracChangeset
for help on using the changeset viewer.