diff options
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index a20367266..692382078 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -217,6 +217,9 @@ chat_new_connection_cb (TpAccount *account, EmpathyChatPriv *priv = GET_PRIV (chat); TpConnection *connection; + if (new_status != TP_CONNECTION_STATUS_CONNECTED) + return; + connection = tp_account_get_connection (account); if (!priv->tp_chat && account == priv->account && |