aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 20:22:58 +0800
commit1ff9b568baba4d2f3e2445e63f6f68c840b20a88 (patch)
tree4cc6f480dd77cd8296811343819e90385c956965
parentc97b20c86e3cc38706366fb273814d4af7607eae (diff)
downloadgsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar.gz
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar.bz2
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar.lz
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar.xz
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.tar.zst
gsoc2013-empathy-1ff9b568baba4d2f3e2445e63f6f68c840b20a88.zip
Do not close the channel if the channel is invalidated
svn path=/trunk/; revision=767
-rw-r--r--libempathy/empathy-tp-chat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 3a2f71df1..141c20ffe 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -467,7 +467,7 @@ tp_chat_finalize (GObject *object)
{
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,