Mercurial > pidgin.yaz
comparison src/status.c @ 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 | 410462ce25ba |
children | 3169cd6727ad |
comparison
equal
deleted
inserted
replaced
12586:218d0aec518d | 12587:8afd25a37b35 |
---|---|
427 | 427 |
428 g_return_val_if_fail(status_type != NULL, FALSE); | 428 g_return_val_if_fail(status_type != NULL, FALSE); |
429 | 429 |
430 primitive = gaim_status_type_get_primitive(status_type); | 430 primitive = gaim_status_type_get_primitive(status_type); |
431 | 431 |
432 /* Why does "hidden" mean the person is available? */ | 432 return (primitive == GAIM_STATUS_AVAILABLE); |
433 return (primitive == GAIM_STATUS_AVAILABLE || | |
434 primitive == GAIM_STATUS_HIDDEN); | |
435 } | 433 } |
436 | 434 |
437 const char * | 435 const char * |
438 gaim_status_type_get_primary_attr(const GaimStatusType *status_type) | 436 gaim_status_type_get_primary_attr(const GaimStatusType *status_type) |
439 { | 437 { |