empathy r652 - trunk/libempathy



Author: xclaesse
Date: Mon Feb 18 10:55:13 2008
New Revision: 652
URL: http://svn.gnome.org/viewvc/empathy?rev=652&view=rev

Log:
Do not load avatar from cache if token is empty. Fixes bug #517098.


Modified:
   trunk/libempathy/empathy-log-manager.c

Modified: trunk/libempathy/empathy-log-manager.c
==============================================================================
--- trunk/libempathy/empathy-log-manager.c	(original)
+++ trunk/libempathy/empathy-log-manager.c	Mon Feb 18 10:55:13 2008
@@ -362,7 +362,7 @@
 		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) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]