Changeset 1febf5c for protocols/yahoo
- Timestamp:
- 2008-01-05T21:15:32Z (17 years ago)
- Branches:
- master
- Children:
- 46dca11
- Parents:
- 6e68a52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
r6e68a52 r1febf5c 125 125 126 126 return( g_strndup( in, len ) ); 127 } 128 129 static void byahoo_init( account_t *acc ) 130 { 131 set_add( &acc->set, "mail_notifications", "false", set_eval_bool, acc ); 127 132 } 128 133 … … 349 354 struct prpl *ret = g_new0(struct prpl, 1); 350 355 ret->name = "yahoo"; 356 ret->init = byahoo_init; 351 357 352 358 ret->login = byahoo_login; … … 923 929 struct im_connection *ic = byahoo_get_ic_by_id( id ); 924 930 925 if( from && subj ) 931 if( !set_getbool( &ic->acc->set, "mail_notifications" ) ) 932 ; /* The user doesn't care. */ 933 else if( from && subj ) 926 934 imcb_log( ic, "Received e-mail message from %s with subject `%s'", from, subj ); 927 935 else if( cnt > 0 )
Note: See TracChangeset
for help on using the changeset viewer.