aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-03-11 20:22:58 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-03-11 20:22:58 +0800
commitc275f85f01996504164efc67c39fa2b63c8c8259 (patch)
tree4cc6f480dd77cd8296811343819e90385c956965 /libempathy
parent64676748699f1f7b8eeb19791dccb0da3965d230 (diff)
downloadgsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar.gz
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar.bz2
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar.lz
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar.xz
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.tar.zst
gsoc2013-empathy-c275f85f01996504164efc67c39fa2b63c8c8259.zip
Do not close the channel if the channel is invalidated
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@767 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-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,