changeset 12945:6af3ac33eeea

[gaim-migrate @ 15298] This seems like a better way of dealing with the Presence: None issue. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 19 Jan 2006 07:09:47 +0000
parents 07eaae27e674
children a63227edcff0
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Thu Jan 19 07:06:19 2006 +0000
+++ b/src/protocols/yahoo/yahoo.c	Thu Jan 19 07:09:47 2006 +0000
@@ -2809,8 +2809,9 @@
 				presence = _("Appear Permanently Offline");
 				break;
 			case YAHOO_PRESENCE_DEFAULT:
+				break;
 			default:
-				presence = _("None");
+				gaim_debug_error("yahoo", "Unknown presence in yahoo_tooltip_text\n");
 				break;
 		}
 	}
@@ -2822,7 +2823,7 @@
 		g_free(escaped);
 	}
 
-	if (presence != NULL && f->presence != YAHOO_PRESENCE_DEFAULT)
+	if (presence != NULL)
 		g_string_append_printf(s, _("\n<b>%s:</b> %s"),
 				_("Presence"), presence);