aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-individual-menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-menu.c b/libempathy-gtk/empathy-individual-menu.c
index b08b242b3..69f0330f4 100644
--- a/libempathy-gtk/empathy-individual-menu.c
+++ b/libempathy-gtk/empathy-individual-menu.c
@@ -440,7 +440,7 @@ menu_item_set_first_contact (GtkWidget *item,
contact = empathy_contact_dup_from_tp_contact (tp_contact);
empathy_contact_set_persona (contact, FOLKS_PERSONA (l->data));
- if (sensitivity_predicate == NULL ||
+ if (best_contact == NULL || sensitivity_predicate == NULL ||
sensitivity_predicate (contact) == TRUE)
{
tp_clear_object (&best_contact);