summaryrefslogtreecommitdiff
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-25 17:33:56 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-26 11:55:39 +0100
commit8d7b620729e05462e2f03eeaf1b3689305b0ba32 (patch)
tree4d25bc76ae5d6c0349ecae8e7f7c7cbd2f644856 /libempathy
parentc6613010ca396821df9923b3a3a88f6709a636b9 (diff)
use TpAccountChannelRequest Conference high level API
https://bugzilla.gnome.org/show_bug.cgi?id=725070
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-chat.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 730c8ac04..92e634ed2 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -208,13 +208,10 @@ empathy_tp_chat_add (EmpathyTpChat *self,
req = tp_account_channel_request_new_text (account,
TP_USER_ACTION_TIME_NOT_USER_ACTION);
- tp_account_channel_request_set_request_property (req,
- TP_PROP_CHANNEL_INTERFACE_CONFERENCE_INITIAL_CHANNELS,
- g_variant_new_objv (channels, -1));
+ tp_account_channel_request_set_conference_initial_channels (req,
+ channels);
- tp_account_channel_request_set_request_property (req,
- TP_PROP_CHANNEL_INTERFACE_CONFERENCE_INITIAL_INVITEE_IDS,
- g_variant_new_strv (invitees, -1));
+ tp_account_channel_request_set_initial_invitee_ids (req, invitees);
/* FIXME: InvitationMessage ? */