]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat.c
Do not reconnect chats if there is no ID. That could probably happen for MSN-like
[empathy.git] / libempathy-gtk / empathy-chat.c
index 652c6651d80ebf618a328972b6e99a4d79d2f2fc..30fa44c4726f79ca18ec1db5f27997438fb7a554 100644 (file)
@@ -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");