summaryrefslogtreecommitdiff
path: root/telepathy-farstream
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2014-03-30 09:27:08 -0400
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2014-04-01 14:36:54 +0100
commit50e4140fbf34dd63419467467d89dc19be62d7f1 (patch)
tree9d4a3f2e8d8540d350ba15504781070922128217 /telepathy-farstream
parent9ff216cb7997efcb814cb9066dc280d075f7f016 (diff)
Farstream: Propagate the call channel's factory to other TpProxy instances
Diffstat (limited to 'telepathy-farstream')
-rw-r--r--telepathy-farstream/call-content.c1
-rw-r--r--telepathy-farstream/call-stream.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/telepathy-farstream/call-content.c b/telepathy-farstream/call-content.c
index 9fe7e809e..053559eb4 100644
--- a/telepathy-farstream/call-content.c
+++ b/telepathy-farstream/call-content.c
@@ -849,6 +849,7 @@ process_media_description (TfCallContent *self,
"dbus-daemon", tp_proxy_get_dbus_daemon (self->proxy),
"bus-name", tp_proxy_get_bus_name (self->proxy),
"object-path", media_description_objpath,
+ "factory", tp_proxy_get_factory (self->proxy),
NULL);
tp_proxy_add_interface_by_id (TP_PROXY (proxy),
TP_IFACE_QUARK_CALL1_CONTENT_MEDIA_DESCRIPTION);
diff --git a/telepathy-farstream/call-stream.c b/telepathy-farstream/call-stream.c
index 318139bb6..d7a08d237 100644
--- a/telepathy-farstream/call-stream.c
+++ b/telepathy-farstream/call-stream.c
@@ -915,6 +915,7 @@ tf_call_stream_add_endpoint (TfCallStream *self, const gchar *obj_path)
"dbus-daemon", tp_proxy_get_dbus_daemon (self->proxy),
"bus-name", tp_proxy_get_bus_name (self->proxy),
"object-path", self->endpoint_objpath,
+ "factory", tp_proxy_get_factory (self->proxy),
NULL);
tp_proxy_add_interface_by_id (TP_PROXY (self->endpoint),
TP_IFACE_QUARK_CALL1_STREAM_ENDPOINT);