changeset 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 4eb0490f5ff3
children 6eb5bf5089f0
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
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)