[gaim-migrate @ 15230]

Sat, 14 Jan 2006 21:21:47 +0000

author
Peter Lawler <pidgin@bleeter.id.au>
date
Sat, 14 Jan 2006 21:21:47 +0000
changeset 12878
b4e6c6029bf6
parent 12877
aebd8924bc4b
child 12879
34ced28dd1d6

[gaim-migrate @ 15230]
Fix from Bleeter to show the Yahoo! presence tooltip only when it has meaning.

committer: Ethan Blanton <elb@pidgin.im>

src/protocols/yahoo/yahoo.c file | annotate | diff | comparison | revisions
--- 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);
 

mercurial