# HG changeset patch # User Christian Hammond # Date 1086912996 0 # Node ID 572e4658492c53c5d7ad29202f3920ea2b2cafc1 # Parent 77fdeb4c459f4b27c492de1c6dc4335722f336f5 [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 diff -r 77fdeb4c459f -r 572e4658492c COPYRIGHT --- a/COPYRIGHT Fri Jun 11 00:11:52 2004 +0000 +++ b/COPYRIGHT Fri Jun 11 00:16:36 2004 +0000 @@ -153,6 +153,7 @@ Dan Willemsen Jason Willis Matt Wilson +Justin Wood Ximian Jared Yanovich Timmy Yee diff -r 77fdeb4c459f -r 572e4658492c src/protocols/msn/state.c --- 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); } }