diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-03-20 22:47:55 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-03-20 22:47:55 +0800 |
commit | 91ade18d53a81dc8d913f91506f7df07f6fa855b (patch) | |
tree | 8fac7d2e3317d7609ac7f800ffab4579fd8ae32e /libempathy/empathy-call-handler.c | |
parent | 3c4cfb4ab710410fe2464be3ea9b83397c7f80da (diff) | |
download | gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar.gz gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar.bz2 gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar.lz gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar.xz gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.tar.zst gsoc2013-empathy-91ade18d53a81dc8d913f91506f7df07f6fa855b.zip |
Do not assert if the CM does not support RequestableChannelClasses
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2728
Diffstat (limited to 'libempathy/empathy-call-handler.c')
-rw-r--r-- | libempathy/empathy-call-handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-call-handler.c b/libempathy/empathy-call-handler.c index 072542c82..39d5899bd 100644 --- a/libempathy/empathy-call-handler.c +++ b/libempathy/empathy-call-handler.c @@ -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); |