summaryrefslogtreecommitdiff
path: root/telepathy-glib/channel-group.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2009-02-04 17:08:38 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2009-02-04 17:08:38 +0000
commit6fd5509fb296b94f8ef80429a7160f711591fdb6 (patch)
treee6d785a4c34a463e613dbdca3d63ca4050dfc1e2 /telepathy-glib/channel-group.c
parenta25a42bc5f8be07e986e0b1af9d4c6bd31a78f1d (diff)
downloadtelepathy-glib-6fd5509fb296b94f8ef80429a7160f711591fdb6.tar.gz
TpChannel: respond to removal of the global self-handle in the same way as the local self-handle
Diffstat (limited to 'telepathy-glib/channel-group.c')
-rw-r--r--telepathy-glib/channel-group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index 966ce5935..fdba0c167 100644
--- a/telepathy-glib/channel-group.c
+++ b/telepathy-glib/channel-group.c
@@ -917,7 +917,8 @@ handle_members_changed (TpChannel *self,
tp_intset_remove (self->priv->group_local_pending, handle);
tp_intset_remove (self->priv->group_remote_pending, handle);
- if (handle == self->priv->group_self_handle)
+ if (handle == self->priv->group_self_handle ||
+ handle == tp_connection_get_self_handle (self->priv->connection))
{
const gchar *error_detail = tp_asv_get_string (details, "error");