changeset 12587:8afd25a37b35

[gaim-migrate @ 14916] This should fix a bug where auto-away would switch your status to away when you become idle and your status was invisible. That's bad. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 21 Dec 2005 03:24:16 +0000
parents 218d0aec518d
children cce0e97b36c2
files src/status.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/status.c	Wed Dec 21 00:08:21 2005 +0000
+++ b/src/status.c	Wed Dec 21 03:24:16 2005 +0000
@@ -429,9 +429,7 @@
 
 	primitive = gaim_status_type_get_primitive(status_type);
 
-	/* Why does "hidden" mean the person is available? */
-	return (primitive == GAIM_STATUS_AVAILABLE ||
-			primitive == GAIM_STATUS_HIDDEN);
+	return (primitive == GAIM_STATUS_AVAILABLE);
 }
 
 const char *