diff src/protocols/msn/msn.c @ 10451:92d4a25fd33c

[gaim-migrate @ 11717] This is patch 1090620 from Felipe Contreras to improve the handling of the Individuals group on MSN and better buddy updates (modified by me to work in HEAD) Also included is my fix for bug 1090087 "MSN Groupchat Double Invite Crash", a few spelling corrections, and make some more strings translatable. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 30 Dec 2004 15:55:19 +0000
parents e5455f1dc9b6
children 9bed28273ec7
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Thu Dec 30 06:26:53 2004 +0000
+++ b/src/protocols/msn/msn.c	Thu Dec 30 15:55:19 2004 +0000
@@ -448,8 +448,7 @@
 	else if (gaim_presence_is_status_active(presence, "busy") ||
 			 gaim_presence_is_status_active(presence, "phone"))
 		emblems[i++] = "occupied";
-	else if (gaim_presence_is_status_active(presence, "away") ||
-			 gaim_presence_is_idle(presence))
+	else if (!gaim_presence_is_available(presence))
 		emblems[i++] = "away";
 
 	if (user == NULL)
@@ -1334,15 +1333,6 @@
 			g_free(nicktext);
 		}
 
-		if (gaim_presence_is_idle(presence))
-		{
-			char *idletime = gaim_str_seconds_to_string(time(NULL) -
-										gaim_presence_get_idle_time(presence));
-			g_string_append_printf(s, _("<b>%s:</b> %s<br>"), _("Idle"),
-					idletime);
-			g_free(idletime);
-		}
-
 		if (statustext)
 		{
 			char *tmp;