aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-store-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-individual-store-channel.c')
-rw-r--r--libempathy-gtk/empathy-individual-store-channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-individual-store-channel.c b/libempathy-gtk/empathy-individual-store-channel.c
index 75284602b..76ff74e25 100644
--- a/libempathy-gtk/empathy-individual-store-channel.c
+++ b/libempathy-gtk/empathy-individual-store-channel.c
@@ -82,6 +82,8 @@ add_members (EmpathyIndividualStoreChannel *self,
continue;
individual = empathy_create_individual_from_tp_contact (contact);
+ if (individual == NULL)
+ return;
DEBUG ("%s joined channel %s", tp_contact_get_identifier (contact),
tp_proxy_get_object_path (self->priv->channel));