aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-02-23 02:14:07 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-02-24 01:12:57 +0800
commit43351bae1eb2f338922577ffa6dcc7321e35a37b (patch)
tree2ff44c92b653e40d73a238cb26ca18887dec3148 /src
parent10edf350020350475ece049d9c8fd969f70cf5c5 (diff)
downloadgsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.gz
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.bz2
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.lz
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.xz
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.tar.zst
gsoc2013-empathy-43351bae1eb2f338922577ffa6dcc7321e35a37b.zip
Don't require EmpathyContacts to start a call
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-factory.c3
-rw-r--r--src/empathy-streamed-media-handler.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/empathy-call-factory.c b/src/empathy-call-factory.c
index 21d3a6594..76b28cf9a 100644
--- a/src/empathy-call-factory.c
+++ b/src/empathy-call-factory.c
@@ -244,7 +244,8 @@ empathy_call_factory_new_call_with_streams (EmpathyContact *contact,
TpAccount *account;
TpAccountChannelRequest *call_req;
- call_request = empathy_call_create_call_request (contact,
+ call_request = empathy_call_create_call_request (
+ empathy_contact_get_id (contact),
initial_audio, initial_video);
account = empathy_contact_get_account (contact);
diff --git a/src/empathy-streamed-media-handler.c b/src/empathy-streamed-media-handler.c
index 9d533b993..39e3e560d 100644
--- a/src/empathy-streamed-media-handler.c
+++ b/src/empathy-streamed-media-handler.c
@@ -808,7 +808,8 @@ empathy_streamed_media_handler_start_call (EmpathyStreamedMediaHandler *handler,
g_assert (priv->contact != NULL);
account = empathy_contact_get_account (priv->contact);
- request = empathy_call_create_streamed_media_request (priv->contact,
+ request = empathy_call_create_streamed_media_request (
+ empathy_contact_get_id (priv->contact),
priv->initial_audio, priv->initial_video);
req = tp_account_channel_request_new (account, request, timestamp);