# HG changeset patch # User Stu Tomlinson # Date 1126385005 0 # Node ID d5e4a3af79341a018462e23d6a2c8b4579958ec8 # Parent 3314953511de85b5fb4622a3fb80d369bd6efb3e [gaim-migrate @ 13739] Fix up ICQ status stuff a bit. Invisible was being treated incorrectly, it looks like a strcmp was misread as !strcmp in the conversion from the oldstatus way of doing things which inverted the logic a little. committer: Tailor Script diff -r 3314953511de -r d5e4a3af7934 src/protocols/oscar/oscar.c --- a/src/protocols/oscar/oscar.c Sat Sep 10 20:41:20 2005 +0000 +++ b/src/protocols/oscar/oscar.c Sat Sep 10 20:43:25 2005 +0000 @@ -6608,7 +6608,7 @@ if (!od) return; - if (gaim_status_type_get_primitive(gaim_status_get_type(status)) == GAIM_STATUS_HIDDEN) + if (gaim_status_type_get_primitive(gaim_status_get_type(status)) != GAIM_STATUS_HIDDEN) account->perm_deny = 4; else account->perm_deny = 3; @@ -6616,7 +6616,7 @@ if ((od->sess->ssi.received_data) && (aim_ssi_getpermdeny(od->sess->ssi.local) != account->perm_deny)) aim_ssi_setpermdeny(od->sess, account->perm_deny, 0xffffffff); - if (!strcmp(status_id, OSCAR_STATUS_ID_ONLINE)) + if (!strcmp(status_id, OSCAR_STATUS_ID_ONLINE) || !strcmp(status_id, OSCAR_STATUS_ID_AVAILABLE)) aim_setextstatus(od->sess, AIM_ICQ_STATE_NORMAL); else if (!strcmp(status_id, OSCAR_STATUS_ID_AWAY))