Mercurial > pidgin.yaz
diff src/protocols/msn/state.c @ 9262:572e4658492c
[gaim-migrate @ 10061]
Patch by Justin Wood. He says:
"User icon would set wrong status There is a small window, that if you set
a user icon, you'll set the wrong status for the next update.
Thought this over, and it shouldn't have any nasty side effects.. but there
are potential problems, if a status change message is lost. Things should
be ok though, that said"
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 11 Jun 2004 00:16:36 +0000 |
parents | ab6636c5a136 |
children | bcfea6c3d5c9 |
line wrap: on
line diff
--- a/src/protocols/msn/state.c Fri Jun 11 00:11:52 2004 +0000 +++ b/src/protocols/msn/state.c Fri Jun 11 00:16:36 2004 +0000 @@ -68,6 +68,12 @@ msn_cmdproc_send(cmdproc, "CHG", "%s %d %s", state_text, MSN_CLIENT_ID, gaim_url_encode(msnobj_str)); + /* + * We need to set this just in case someone tries to set icon + * quickly on us - Justin + */ + session->state = state; + g_free(msnobj_str); } }