Changeset - 13a6896ce18d
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-08-16 23:16:52
hanzz.k@gmail.com
vcard tweaking
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/main.cpp
Show inline comments
 
@@ -894,6 +894,9 @@ static void *notify_user_info(PurpleConnection *gc, const char *who, PurpleNotif
 
		vcardEntries = vcardEntries->next;
 
	}
 

	
 
	if ((!firstName.empty() || !lastName.empty()) && fullName.empty())
 
		fullName = firstName + " " + lastName;
 

	
 
	if (nickname.empty() && !fullName.empty()) {
 
		nickname = fullName;
 
	}
 
@@ -923,9 +926,6 @@ static void *notify_user_info(PurpleConnection *gc, const char *who, PurpleNotif
 
		}
 
	}
 

	
 
	if ((!firstName.empty() || !lastName.empty()) && fullName.empty())
 
		fullName = firstName + " " + lastName;
 

	
 
	PurpleBuddy *buddy = purple_find_buddy(purple_connection_get_account(gc), who);
 
	if (buddy && photo.size() == 0) {
 
		gsize len;
0 comments (0 inline, 0 general)