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.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 01087c19d..6800c8e30 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -938,6 +938,18 @@ empathy_contact_load_avatar_cache (EmpathyContact *contact,
return data != NULL;
}
+gchar *
+empathy_contact_get_avatar_filename (EmpathyContact *contact)
+{
+ EmpathyContactPriv *priv = GET_PRIV (contact);
+
+ if (priv->avatar)
+ return contact_get_avatar_filename (contact, priv->avatar->token);
+
+ return NULL;
+}
+
+
GType
empathy_avatar_get_type (void)
{