summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2009-09-03 23:09:08 +0000
committerElliott Sales de Andrade <qulogic@pidgin.im>2009-09-03 23:09:08 +0000
commit5dcd9fc0ee0c1c6f3012e3977ff56fbea2acad7c (patch)
treefc5cfbfe09b683870c1eb971c613c4f6ce825749
parent45db184e3398e611df1ccdff66997737da279c40 (diff)
downloadpidgin-5dcd9fc0ee0c1c6f3012e3977ff56fbea2acad7c.tar.gz
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.
-rw-r--r--libpurple/protocols/msn/switchboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpurple/protocols/msn/switchboard.c b/libpurple/protocols/msn/switchboard.c
index 255f87d3c8..1f6cd22d2a 100644
--- a/libpurple/protocols/msn/switchboard.c
+++ b/libpurple/protocols/msn/switchboard.c
@@ -248,9 +248,11 @@ msn_switchboard_add_user(MsnSwitchBoard *swboard, const char *user)
{
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)
{