Changeset 1febf5c for protocols/msn/ns.c


Ignore:
Timestamp:
2008-01-05T21:15:32Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
46dca11
Parents:
6e68a52
Message:

Added "mail_notifications" setting. Who needs those notifications anyway?
Closes: #338.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/ns.c

    r6e68a52 r1febf5c  
    643643                                char *folders = msn_findheader( body, "Folders-Unread:", blen );
    644644                               
    645                                 if( inbox && folders )
     645                                if( inbox && folders && set_getbool( &ic->acc->set, "mail_notifications" ) )
    646646                                {
    647647                                        imcb_log( ic, "INBOX contains %s new messages, plus %s messages in other folders.", inbox, folders );
     
    653653                                char *fromname = msn_findheader( body, "From:", blen );
    654654                               
    655                                 if( from && fromname )
     655                                if( from && fromname && set_getbool( &ic->acc->set, "mail_notifications" ) )
    656656                                {
    657657                                        imcb_log( ic, "Received an e-mail message from %s <%s>.", fromname, from );
Note: See TracChangeset for help on using the changeset viewer.