diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-18 18:55:13 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-02-18 18:55:13 +0800 |
commit | f82e01b0f5e7ca41c754741bae9bb34fa9232a02 (patch) | |
tree | df11b47ce197603a74684c371108c98361bed82c | |
parent | 33207a87645bf45e9ead5d16dbd94715420882b3 (diff) | |
download | gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar.gz gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar.bz2 gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar.lz gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar.xz gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.tar.zst gsoc2013-empathy-f82e01b0f5e7ca41c754741bae9bb34fa9232a02.zip |
Do not load avatar from cache if token is empty. Fixes bug #517098.
svn path=/trunk/; revision=652
-rw-r--r-- | libempathy/empathy-log-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-log-manager.c b/libempathy/empathy-log-manager.c index bb9ece083..096761841 100644 --- a/libempathy/empathy-log-manager.c +++ b/libempathy/empathy-log-manager.c @@ -362,7 +362,7 @@ empathy_log_manager_get_messages_for_file (EmpathyLogManager *manager, is_user_str = xmlGetProp (node, "isuser"); msg_type_str = xmlGetProp (node, "type"); - if (sender_avatar_token) { + if (!G_STR_EMPTY (sender_avatar_token)) { avatar = empathy_avatar_new_from_cache (sender_avatar_token); } if (is_user_str) { |