changeset 12878:ba82ecb2d6f5

[gaim-migrate @ 15230] Fix from Bleeter to show the Yahoo! presence tooltip only when it has meaning. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 14 Jan 2006 21:21:47 +0000
parents a7bf698eb37c
children f8748df5c17a
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Jan 14 17:58:36 2006 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Jan 14 21:21:47 2006 +0000
@@ -2822,7 +2822,7 @@
 		g_free(escaped);
 	}
 
-	if (presence != NULL)
+	if (presence != NULL && f->presence != YAHOO_PRESENCE_DEFAULT)
 		g_string_append_printf(s, _("\n<b>%s:</b> %s"),
 				_("Presence"), presence);