aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 652c6651d..30fa44c47 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");