From 041b5b174f64ddde0f400843ed2a8b89b52ba18d Mon Sep 17 00:00:00 2001 From: Danielle Madeley Date: Wed, 16 Dec 2009 20:21:44 +1100 Subject: Add support for inviting to MUCs --- src/empathy-chat-window.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/empathy-chat-window.c') diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c index 17662b115..bea85c648 100644 --- a/src/empathy-chat-window.c +++ b/src/empathy-chat-window.c @@ -905,8 +905,13 @@ chat_window_invite_participant_activate_cb (GtkAction *action, } else { - /* FIXME: do something with MUC */ - g_warning ("Not implemented yet"); + TpHandle handle = empathy_contact_get_handle (contact); + GArray handles = {(gchar *) &handle, 1}; + + tp_cli_channel_interface_group_call_add_members ( + channel, -1, &handles, + _("Inviting to this room"), + NULL, NULL, NULL, NULL); } g_object_unref (contact); -- cgit v1.2.3