comparison 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
comparison
equal deleted inserted replaced
9261:77fdeb4c459f 9262:572e4658492c
66 msnobj_str = msn_object_to_string(msnobj); 66 msnobj_str = msn_object_to_string(msnobj);
67 67
68 msn_cmdproc_send(cmdproc, "CHG", "%s %d %s", state_text, 68 msn_cmdproc_send(cmdproc, "CHG", "%s %d %s", state_text,
69 MSN_CLIENT_ID, gaim_url_encode(msnobj_str)); 69 MSN_CLIENT_ID, gaim_url_encode(msnobj_str));
70 70
71 /*
72 * We need to set this just in case someone tries to set icon
73 * quickly on us - Justin
74 */
75 session->state = state;
76
71 g_free(msnobj_str); 77 g_free(msnobj_str);
72 } 78 }
73 } 79 }
74 80
75 const char * 81 const char *