]> git.0d.be Git - empathy.git/commitdiff
use TpAccountChannelRequest Conference high level API
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 25 Feb 2014 16:33:56 +0000 (17:33 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 26 Feb 2014 10:55:39 +0000 (11:55 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=725070

libempathy/empathy-tp-chat.c

index 730c8ac0486ddc2566ec9841c4ff3de033d2c806..92e634ed2ade9bf2be930600143eda4c04cedbfd 100644 (file)
@@ -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 ? */