aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-log-store-empathy.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-log-store-empathy.c')
-rw-r--r--libempathy/empathy-log-store-empathy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index 6485d0079..b74b5e177 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -481,8 +481,8 @@ log_store_empathy_get_messages_for_file (EmpathyLogStore *self,
t = empathy_time_parse (time);
- sender = empathy_contact_new_static (account, sender_id, sender_name,
- is_user);
+ sender = empathy_contact_new_for_log (account, sender_id, sender_name,
+ is_user);
if (!EMP_STR_EMPTY (sender_avatar_token))
empathy_contact_load_avatar_cache (sender,