diff src/status.c @ 11634:c7305c2d650b

[gaim-migrate @ 13910] Two fixes: 1. Don't print 2 assertion failed warnings when showing the tooltip of an idle with no status message Yahoo! buddy. This is the change in gtkblist.c 2. When an idle Yahoo! buddy signs offline, we continued to show the buddy as idle. If a buddy is offline then they are NOT idle. This is the change in status.c committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 10 Oct 2005 04:55:42 +0000
parents 45d54425dc65
children 3a05b53a589e
line wrap: on
line diff
--- a/src/status.c	Mon Oct 10 04:18:58 2005 +0000
+++ b/src/status.c	Mon Oct 10 04:55:42 2005 +0000
@@ -1554,7 +1554,7 @@
 {
 	g_return_val_if_fail(presence != NULL, FALSE);
 
-	return presence->idle;
+	return gaim_presence_is_online(presence) && presence->idle;
 }
 
 time_t