Mercurial > pidgin.yaz
changeset 28545:dda434352a35
Don't auto-close MSN switchboard connections for chats, because that means
we're no longer in the chat and need to be re-invited.
Fixes #10144.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 03 Sep 2009 23:09:08 +0000 |
parents | 321dd2830061 |
children | 12dbf561b9c7 |
files | libpurple/protocols/msn/switchboard.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/switchboard.c Thu Sep 03 21:34:21 2009 +0000 +++ b/libpurple/protocols/msn/switchboard.c Thu Sep 03 23:09:08 2009 +0000 @@ -248,9 +248,11 @@ { purple_conv_chat_add_user(PURPLE_CONV_CHAT(swboard->conv), user, NULL, PURPLE_CBFLAGS_NONE, TRUE); + msn_servconn_set_idle_timeout(swboard->servconn, 0); } else if (swboard->current_users > 1 || swboard->total_users > 1) { + msn_servconn_set_idle_timeout(swboard->servconn, 0); if (swboard->conv == NULL || purple_conversation_get_type(swboard->conv) != PURPLE_CONV_TYPE_CHAT) {