# HG changeset patch # User Eric Warmenhoven # Date 1007549992 0 # Node ID cbe6a1e63a72fb3f4bf2827401f936f4b8ddd0ca # Parent 4eb0490f5ff3a52faa5df87bb1b5353c9e63b5c4 [gaim-migrate @ 2863] thanks abiligiri committer: Tailor Script diff -r 4eb0490f5ff3 -r cbe6a1e63a72 src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Wed Dec 05 10:38:39 2001 +0000 +++ b/src/protocols/yahoo/yahoo.c Wed Dec 05 10:59:52 2001 +0000 @@ -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)