From: Xavier Claessens Date: Fri, 20 Mar 2009 14:13:55 +0000 (+0000) Subject: Do not reconnect chats if there is no ID. That could probably happen for MSN-like X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=74da1a106e22d58f90ee6077089bda6fb7a56cea Do not reconnect chats if there is no ID. That could probably happen for MSN-like MUCs. From: Xavier Claessens svn path=/trunk/; revision=2724 --- diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 652c6651..30fa44c4 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -179,7 +179,8 @@ chat_connection_changed_cb (EmpathyAccountManager *manager, if (current == TP_CONNECTION_STATUS_CONNECTED && !priv->tp_chat && empathy_account_equal (account, priv->account) && - priv->handle_type != TP_HANDLE_TYPE_NONE) { + priv->handle_type != TP_HANDLE_TYPE_NONE && + !EMP_IS_EMPTY (priv->id)) { DEBUG ("Account reconnected, request a new Text channel");