aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2009-12-16 17:21:44 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2009-12-21 17:55:02 +0800
commit041b5b174f64ddde0f400843ed2a8b89b52ba18d (patch)
treed65a5a2cd5cc95a69ed64ed0935e77035cb78418 /src
parentb39e12f74ac06de310870a54b08e7fb32d2d2fe0 (diff)
downloadgsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar.gz
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar.bz2
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar.lz
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar.xz
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.tar.zst
gsoc2013-empathy-041b5b174f64ddde0f400843ed2a8b89b52ba18d.zip
Add support for inviting to MUCs
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c9
1 files changed, 7 insertions, 2 deletions
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);