changeset 28538:ea818ffa22b6

jabber: This is more correct.
author Paul Aurich <paul@darkrain42.org>
date Fri, 13 Nov 2009 18:48:29 +0000
parents edb503872793
children b0a04b783e5c
files libpurple/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Fri Nov 13 18:47:52 2009 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Fri Nov 13 18:48:29 2009 +0000
@@ -936,7 +936,7 @@
 			                                             js);
 		else
 			jabber_set_info(js->gc, purple_account_get_user_info(account));
-	} else {
+	} else if (vcard_hash) {
 		/* A photo is in the vCard. Advertise its hash */
 		js->avatar_hash = vcard_hash;
 		vcard_hash = NULL;