]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-list-view.c
Respect CALL feature when clicking on the contact list's microphone icon
[empathy.git] / libempathy-gtk / empathy-contact-list-view.c
index 384e9df2732525570d13e51cba33efcc004f7ab1..35557f10de25bafcbc07492b6506029ba7879d40 100644 (file)
@@ -1377,6 +1377,10 @@ contact_list_view_voip_activated_cb (EmpathyCellRendererActivatable *cell,
        GtkTreeIter                 iter;
        EmpathyContact             *contact;
 
+       if (!(priv->features & EMPATHY_CONTACT_LIST_FEATURE_CONTACT_CALL)) {
+               return;
+       }
+
        model = gtk_tree_view_get_model (GTK_TREE_VIEW (view));
        if (!gtk_tree_model_get_iter_from_string (model, &iter, path_string)) {
                return;