changeset 7038:1ab06a680ac2

[gaim-migrate @ 7601] We voted against this, kind of. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 29 Sep 2003 23:46:28 +0000
parents b599731f486d
children 9f2285b667a7
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 2 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Mon Sep 29 23:43:43 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Mon Sep 29 23:46:28 2003 +0000
@@ -5446,18 +5446,8 @@
 	if ((b->uc & UC_UNAVAILABLE) || (((b->uc & 0xffff0000) >> 16) & AIM_ICQ_STATE_CHAT)) {
 		if (isdigit(b->name[0]))
 			ret = gaim_icq_status((b->uc & 0xffff0000) >> 16);
-		else {
-			aim_userinfo_t *userinfo = aim_locate_finduserinfo(b->name);
-			if ((userinfo != NULL) && (userinfo->flags & AIM_FLAG_AWAY) && (userinfo->away_len > 0) && (userinfo->away != NULL) && (userinfo->away_encoding != NULL)) {
-				gchar *away_utf8 = oscar_encoding_to_utf8(userinfo->away_encoding, userinfo->away, userinfo->away_len);
-				if (away_utf8 != NULL) {
-					ret = strip_html(away_utf8);
-					g_free(away_utf8);
-				} else
-					ret = g_strdup(_("Away"));
-			} else
-				ret = g_strdup(_("Away"));
-		}
+		else
+			ret = g_strdup(_("Away"));
 	} else if (GAIM_BUDDY_IS_ONLINE(b)) {
 		struct buddyinfo *bi = g_hash_table_lookup(od->buddyinfo, normalize(b->name));
 		if (bi->availmsg)