Mercurial > pidgin.yaz
diff libpurple/protocols/msn/slplink.c @ 31233:22f26c372797
Manage sending messages trough switchboard in sbconn.
author | masca@cpw.pidgin.im |
---|---|
date | Tue, 15 Jun 2010 21:21:24 +0000 |
parents | 4481d04cda70 |
children | 0f26d510af1b |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Tue Jun 15 21:05:27 2010 +0000 +++ b/libpurple/protocols/msn/slplink.c Tue Jun 15 21:21:24 2010 +0000 @@ -274,18 +274,7 @@ } else { - if (slplink->swboard == NULL) - { - slplink->swboard = msn_session_get_swboard(slplink->session, - slplink->remote_user, MSN_SB_FLAG_FT); - - g_return_if_fail(slplink->swboard != NULL); - - /* If swboard is destroyed we will be too */ - slplink->swboard->slplinks = g_list_prepend(slplink->swboard->slplinks, slplink); - } - - msn_switchboard_send_msg(slplink->swboard, msg, TRUE); + msn_sbconn_send_msg(slplink, msg); } }