aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-contact.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-contact.c')
-rw-r--r--libempathy/empathy-contact.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 6842cde09..b28959a31 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -807,7 +807,8 @@ empathy_contact_get_persona (EmpathyContact *contact)
if (tp_contact == priv->tp_contact)
{
/* Found the right persona */
- priv->persona = g_object_ref (persona);
+ empathy_contact_set_persona (contact,
+ (FolksPersona*) persona);
goto finished;
}
}