Changeset 1febf5c for protocols/msn
- Timestamp:
- 2008-01-05T21:15:32Z (17 years ago)
- Branches:
- master
- Children:
- 46dca11
- Parents:
- 6e68a52
- Location:
- protocols/msn
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/msn.c
r6e68a52 r1febf5c 35 35 s = set_add( &acc->set, "display_name", NULL, msn_set_display_name, acc ); 36 36 s->flags |= ACC_SET_NOSAVE | ACC_SET_ONLINE_ONLY; 37 38 s = set_add( &acc->set, "mail_notifications", "false", set_eval_bool, acc ); 37 39 } 38 40 -
protocols/msn/ns.c
r6e68a52 r1febf5c 643 643 char *folders = msn_findheader( body, "Folders-Unread:", blen ); 644 644 645 if( inbox && folders )645 if( inbox && folders && set_getbool( &ic->acc->set, "mail_notifications" ) ) 646 646 { 647 647 imcb_log( ic, "INBOX contains %s new messages, plus %s messages in other folders.", inbox, folders ); … … 653 653 char *fromname = msn_findheader( body, "From:", blen ); 654 654 655 if( from && fromname )655 if( from && fromname && set_getbool( &ic->acc->set, "mail_notifications" ) ) 656 656 { 657 657 imcb_log( ic, "Received an e-mail message from %s <%s>.", fromname, from );
Note: See TracChangeset
for help on using the changeset viewer.