Wait for handle instead of id before request a channel
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 16 Feb 2009 21:24:46 +0000 (21:24 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Mon, 16 Feb 2009 21:24:46 +0000 (21:24 +0000)
This fixes calling from the new converstaion dialog to new contacts. As they
start of with an id right away but have no handle yet.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2480

libempathy/empathy-call-handler.c

index aecf655beb899229e8647c207466217962d54d45..41cef67070cf3c2ce2f3799e933742d9b2ccf716 100644 (file)
@@ -407,7 +407,7 @@ empathy_call_handler_start_call (EmpathyCallHandler *handler)
   if (priv->call == NULL)
     {
       empathy_contact_call_when_ready (priv->contact,
-        EMPATHY_CONTACT_READY_ID,
+        EMPATHY_CONTACT_READY_HANDLE,
         empathy_call_handler_contact_ready_cb, NULL, NULL, G_OBJECT (handler));
     }
   else