Mercurial > pidgin
diff src/protocols/yahoo/yahoo.c @ 2850:cbe6a1e63a72
[gaim-migrate @ 2863]
thanks abiligiri
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Wed, 05 Dec 2001 10:59:52 +0000 |
| parents | bda5b89ba2f9 |
| children | b1e300a85678 |
line wrap: on
line diff
--- 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)
