diff options
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r-- | libempathy/empathy-contact.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index 5b6e3345d..df8a1ffe4 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -849,7 +849,8 @@ empathy_contact_set_persona (EmpathyContact *contact, /* Set the persona's alias, since ours could've been set using * empathy_contact_set_alias() before we had a persona; this happens when * adding a contact. */ - empathy_contact_set_alias (contact, priv->alias); + if (priv->alias != NULL) + empathy_contact_set_alias (contact, priv->alias); /* Set the persona's groups */ if (priv->groups != NULL) |