From: Eric W. <war...@us...> - 2001-12-05 10:59:55
|
Update of /cvsroot/gaim/gaim/src/protocols/yahoo In directory usw-pr-cvs1:/tmp/cvs-serv588/protocols/yahoo Modified Files: yahoo.c Log Message: thanks abiligiri Index: yahoo.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/yahoo/yahoo.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- yahoo.c 2001/11/29 08:39:55 1.21 +++ yahoo.c 2001/12/05 10:59:52 1.22 @@ -565,7 +565,12 @@ l = l->next; } - connection_has_mail(gc, count, NULL, NULL, "http://mail.yahoo.com/"); + if (who && email && subj) { + char *from = g_strdup_printf("%s (%s)", who, email); + connection_has_mail(gc, -1, from, subj, "http://mail.yahoo.com/"); + g_free(from); + } else + connection_has_mail(gc, count, NULL, NULL, "http://mail.yahoo.com/"); } static void yahoo_packet_process(struct gaim_connection *gc, struct yahoo_packet *pkt) |