Mercurial > pidgin.yaz
comparison src/protocols/msn/session.c @ 10773:888d4c328be5
[gaim-migrate @ 12382]
Patch 1149564 from Felipe Contreras:
"[MSN] Cleanups and fixes
I know it fixes a multiple conversation close
notification but it probably fixes more stuff.
I don't know exactly what are the diferences with what
Stu did."
I munged it a bit, to make it compile and stuff.
Please test this, I might have broken it.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 02 Apr 2005 16:38:33 +0000 |
parents | bf5e48215158 |
children | 0317ad172e8d |
comparison
equal
deleted
inserted
replaced
10772:12aa8ce77077 | 10773:888d4c328be5 |
---|---|
206 | 206 |
207 return NULL; | 207 return NULL; |
208 } | 208 } |
209 | 209 |
210 MsnSwitchBoard * | 210 MsnSwitchBoard * |
211 msn_session_get_swboard(MsnSession *session, const char *username) | 211 msn_session_get_swboard(MsnSession *session, const char *username, |
212 MsnSBFlag flag) | |
212 { | 213 { |
213 MsnSwitchBoard *swboard; | 214 MsnSwitchBoard *swboard; |
214 | 215 |
215 swboard = msn_session_find_swboard(session, username); | 216 swboard = msn_session_find_swboard(session, username); |
216 | 217 |
219 swboard = msn_switchboard_new(session); | 220 swboard = msn_switchboard_new(session); |
220 swboard->im_user = g_strdup(username); | 221 swboard->im_user = g_strdup(username); |
221 msn_switchboard_request(swboard); | 222 msn_switchboard_request(swboard); |
222 msn_switchboard_request_add_user(swboard, username); | 223 msn_switchboard_request_add_user(swboard, username); |
223 } | 224 } |
225 | |
226 swboard->flag |= flag; | |
224 | 227 |
225 return swboard; | 228 return swboard; |
226 } | 229 } |
227 | 230 |
228 static void | 231 static void |