]> git.0d.be Git - empathy.git/commitdiff
Do not assert if the CM does not support RequestableChannelClasses
authorXavier Claessens <xclaesse@gmail.com>
Fri, 20 Mar 2009 14:47:55 +0000 (14:47 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 20 Mar 2009 14:47:55 +0000 (14:47 +0000)
From: Xavier Claessens <xclaesse@gmail.com>

svn path=/trunk/; revision=2728

libempathy/empathy-call-handler.c

index 072542c8245eadb325c97b99e8db8e8a9f9a6abc..39d5899bdaa04f6503a944d5f8d3f39ae5d0fde8 100644 (file)
@@ -422,9 +422,9 @@ empathy_call_handler_contact_ready_cb (EmpathyContact *contact,
   allowed = empathy_dispatcher_find_channel_class (dispatcher, account,
     TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA, TP_HANDLE_TYPE_CONTACT);
 
-  if (!tp_strv_contains ((const gchar * const *)allowed,
+  if (!tp_strv_contains ((const gchar * const *) allowed,
       TP_IFACE_CHANNEL ".TargetHandle"))
-    g_assert_not_reached ();
+    return;
 
   /* org.freedesktop.Telepathy.Channel.ChannelType */
   value = tp_g_value_slice_new (G_TYPE_STRING);