[Telepathy-commits] [telepathy-glib/master] TpChannel: respond to removal of the global self-handle in the same way as the local self-handle

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Feb 4 09:08:38 PST 2009


---
 telepathy-glib/channel-group.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/channel-group.c b/telepathy-glib/channel-group.c
index 966ce59..fdba0c1 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");
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list