diff -r 4ba12c692153 -r f5670751740c src/protocols/msn/notification.c --- a/src/protocols/msn/notification.c Tue Sep 21 00:58:41 2004 +0000 +++ b/src/protocols/msn/notification.c Tue Sep 21 01:00:19 2004 +0000 @@ -495,11 +495,6 @@ if (!g_ascii_strcasecmp(state, "BSY")) status = "busy"; - else if (!g_ascii_strcasecmp(state, "IDL")) - { - /* XXX - Do something about idle time? */ - status = "idle"; - } else if (!g_ascii_strcasecmp(state, "BRB")) status = "brb"; else if (!g_ascii_strcasecmp(state, "AWY")) @@ -512,6 +507,11 @@ status = "available"; gaim_prpl_got_user_status(account, passport, status, NULL); + + if (!g_ascii_strcasecmp(state, "IDL")) + gaim_prpl_got_user_idle(account, passport, TRUE, -1); + else + gaim_prpl_got_user_idle(account, passport, FALSE, 0); } static void @@ -573,11 +573,6 @@ if (!g_ascii_strcasecmp(state, "BSY")) status = "busy"; - else if (!g_ascii_strcasecmp(state, "IDL")) - { - /* XXX - Do something about idle time? */ - status = "idle"; - } else if (!g_ascii_strcasecmp(state, "BRB")) status = "brb"; else if (!g_ascii_strcasecmp(state, "AWY")) @@ -590,6 +585,11 @@ status = "available"; gaim_prpl_got_user_status(account, passport, status, NULL); + + if (!g_ascii_strcasecmp(state, "IDL")) + gaim_prpl_got_user_idle(account, passport, TRUE, -1); + else + gaim_prpl_got_user_idle(account, passport, FALSE, 0); } static void