Mercurial > pidgin
changeset 19583:66882abaf8f1
rewster from #pidgin pointed out that the conditional was reversed, and
made oscar always set the idle time on (re)connect. References #333
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Mon, 03 Sep 2007 21:02:52 +0000 |
parents | d4fb44035799 |
children | a38ee5d9eedf |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Mon Sep 03 02:19:23 2007 +0000 +++ b/libpurple/protocols/oscar/oscar.c Mon Sep 03 21:02:52 2007 +0000 @@ -3574,7 +3574,7 @@ g_free(tmp); presence = purple_status_get_presence(status); - aim_srv_setidle(od, purple_presence_is_idle(presence) ? 0 : time(NULL) - purple_presence_get_idle_time(presence)); + aim_srv_setidle(od, !purple_presence_is_idle(presence) ? 0 : time(NULL) - purple_presence_get_idle_time(presence)); if (od->icq) { aim_icq_reqofflinemsgs(od);