aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-09 20:56:10 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-06-09 20:56:10 +0800
commit4047625966d7de345673f6e0603c7e45f2e7d747 (patch)
tree5186c74b4bc314401863bf9e3029353193b50711 /libempathy
parent08fb04d03b17c44e401d89cfd0e957c41cdf3b56 (diff)
downloadgsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar.gz
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar.bz2
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar.lz
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar.xz
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.tar.zst
gsoc2013-empathy-4047625966d7de345673f6e0603c7e45f2e7d747.zip
contact_get_avatar_filename: use empathy_contact_get_id instead of priv->id directly
priv->id is not supposed to be set for not log contacts so the avatar cache was broken for all TpContact.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-contact.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 03ce8d28a..ad51b3214 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -837,10 +837,10 @@ contact_get_avatar_filename (EmpathyContact *contact,
gchar *token_escaped;
gchar *contact_escaped;
- if (EMP_STR_EMPTY (priv->id))
+ if (EMP_STR_EMPTY (empathy_contact_get_id (contact)))
return NULL;
- contact_escaped = tp_escape_as_identifier (priv->id);
+ contact_escaped = tp_escape_as_identifier (empathy_contact_get_id (contact));
token_escaped = tp_escape_as_identifier (token);
account = empathy_contact_get_account (contact);