Changeset - f681cbeba6af
[Not reviewed]
0 1 0
HanzZ - 13 years ago 2012-02-17 15:31:53
hanzz.k@gmail.com
Fixed skype buddy list parsing
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
backends/skype/main.cpp
Show inline comments
 
@@ -513,25 +513,24 @@ bool Skype::loadSkypeBuddies() {
 
				buddy.erase(buddy.begin());
 
			}
 
			LOG4CXX_INFO(logger, "Got buddy " << buddy);
 
			std::string st = full_friends_list[i + 5];
 

	
 
			pbnetwork::StatusType status = getStatus(st);
 

	
 
			std::string alias = full_friends_list[i + 6];
 

	
 
			std::string mood_text = "";
 
			if (full_friends_list[i + 8] && *full_friends_list[i + 8] != '\0' && *full_friends_list[i + 8] != ',') {
 
				mood_text = full_friends_list[i + 8];
 
				i++;
 
			}
 

	
 
			std::vector<std::string> groups;
 
			groups.push_back(group_map[buddy]);
 
			np->handleBuddyChanged(m_user, buddy, alias, groups, status, mood_text);
 
		}
 
	}
 
	g_strfreev(full_friends_list);
 

	
 
	send_command("SET AUTOAWAY OFF");
 
	return FALSE;
 
}
0 comments (0 inline, 0 general)