empathy r767 - trunk/libempathy



Author: xclaesse
Date: Tue Mar 11 12:22:58 2008
New Revision: 767
URL: http://svn.gnome.org/viewvc/empathy?rev=767&view=rev

Log:
Do not close the channel if the channel is invalidated


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

Modified: trunk/libempathy/empathy-tp-chat.c
==============================================================================
--- trunk/libempathy/empathy-tp-chat.c	(original)
+++ trunk/libempathy/empathy-tp-chat.c	Tue Mar 11 12:22:58 2008
@@ -467,7 +467,7 @@
 {
 	EmpathyTpChatPriv *priv = GET_PRIV (object);
 
-	if (priv->acknowledge) {
+	if (priv->acknowledge && priv->channel) {
 		empathy_debug (DEBUG_DOMAIN, "Closing channel...");
 		tp_cli_channel_call_close (priv->channel, -1,
 					   tp_chat_async_cb,



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