[telepathy-gabble/master] Allow self-removal from media channels.

Will Thompson will.thompson at collabora.co.uk
Thu Apr 9 11:31:23 PDT 2009


This actually already worked in most cases, because the Can_Remove flag
is (erroneously) set.
---
 src/media-channel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/media-channel.c b/src/media-channel.c
index b81879a..f14cde4 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -769,6 +769,8 @@ gabble_media_channel_class_init (GabbleMediaChannelClass *gabble_media_channel_c
       gabble_media_channel_add_member, NULL);
   tp_group_mixin_class_set_remove_with_reason_func (object_class,
       gabble_media_channel_remove_member);
+  tp_group_mixin_class_allow_self_removal (object_class);
+
   tp_group_mixin_init_dbus_properties (object_class);
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list