empathy r2724 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Mar 20 14:13:55 2009
New Revision: 2724
URL: http://svn.gnome.org/viewvc/empathy?rev=2724&view=rev

Log:
Do not reconnect chats if there is no ID. That could probably happen for MSN-like
MUCs.

From: Xavier Claessens <xclaesse gmail com>

Modified:
   trunk/libempathy-gtk/empathy-chat.c

Modified: trunk/libempathy-gtk/empathy-chat.c
==============================================================================
--- trunk/libempathy-gtk/empathy-chat.c	(original)
+++ trunk/libempathy-gtk/empathy-chat.c	Fri Mar 20 14:13:55 2009
@@ -179,7 +179,8 @@
 
 	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");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]