Mercurial > pidgin
changeset 12426:98be11e744a8
[gaim-migrate @ 14733]
For some reason, in some cases we're setting the "message" property on
statuses when a remote user logs out; it appears to be because we're
actually getting that property from OSCAR. This suppresses that
setting, because the status API isn't happy receiving a NULL status
type.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Fri, 09 Dec 2005 03:28:56 +0000 |
parents | 6066f8e2782d |
children | c5c0f714d8bc |
files | src/protocols/oscar/oscar.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Fri Dec 09 03:28:17 2005 +0000 +++ b/src/protocols/oscar/oscar.c Fri Dec 09 03:28:56 2005 +0000 @@ -5117,7 +5117,7 @@ presence = gaim_buddy_get_presence(b); status = gaim_presence_get_active_status(presence); - if (!gaim_status_is_available(status)) + if (!gaim_status_is_available(status) && gaim_status_is_online(status)) { if ((userinfo != NULL) && (userinfo->flags & AIM_FLAG_AWAY) && (userinfo->away_len > 0) && (userinfo->away != NULL) && (userinfo->away_encoding != NULL)) {