Mercurial > pidgin
diff src/protocols/msn/switchboard.c @ 10246:a66cf83552dc
[gaim-migrate @ 11386]
I changed gaim_find_conversation and gaim_find_conversation_with_account
The first parameter is now one of GAIM_CONV_IM, GAIM_CONV_CHAT or
GAIM_CONV_ANY. Unfortunately, this changes a bajillion files.
Please look over this and make sure I use the correct type everywhere.
Especially in Novell and MSN, and somewhat in SILC.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Tue, 23 Nov 2004 06:14:15 +0000 |
| parents | ecf3ce2e2ab1 |
| children | b4dc55d994bf |
line wrap: on
line diff
--- a/src/protocols/msn/switchboard.c Tue Nov 23 05:53:59 2004 +0000 +++ b/src/protocols/msn/switchboard.c Tue Nov 23 06:14:15 2004 +0000 @@ -116,7 +116,9 @@ } else if (swboard->conv == NULL) { - swboard->conv = gaim_find_conversation_with_account(user, account); + /* XXX - I think this should probably be GAIM_CONV_CHAT, but I'm hedging */ + swboard->conv = gaim_find_conversation_with_account(GAIM_CONV_ANY, + user, account); } else { @@ -149,7 +151,9 @@ account = swboard->session->account; - return gaim_find_conversation_with_account(swboard->im_user, account); + /* XXX - I think this should probably be GAIM_CONV_IM, but I'm hedging */ + return gaim_find_conversation_with_account(GAIM_CONV_IM, + swboard->im_user, account); } void
