pidgin: cb45b9ab: Don't auto-close MSN switchboard connect...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Sep 3 22:36:43 EDT 2009
-----------------------------------------------------------------
Revision: cb45b9abc0e8fcd12208cbff8a1d57fd6cda1c82
Ancestor: 8500b633643fde94cf6e183c9c77574314fadd78
Author: qulogic at pidgin.im
Date: 2009-09-03T23:09:08
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/cb45b9abc0e8fcd12208cbff8a1d57fd6cda1c82
Modified files:
libpurple/protocols/msn/switchboard.c
ChangeLog:
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.
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/switchboard.c ff4090ce57e6227e9e6fe628208577a0ca315df6
+++ libpurple/protocols/msn/switchboard.c 20fbf36b18d37e9079d46579a508c98a2a64d40f
@@ -248,9 +248,11 @@ msn_switchboard_add_user(MsnSwitchBoard
{
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)
{
More information about the Commits
mailing list