Changeset - 0bf2d89a7ffd
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-09-09 14:22:34
hanzz.k@gmail.com
Do no add buddies twice in gateway mode
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/rostermanager.cpp
Show inline comments
 
@@ -212,7 +212,7 @@ void RosterManager::handleRemoteRosterResponse(boost::shared_ptr<Swift::RosterPa
 

	
 
	BOOST_FOREACH(const Swift::RosterItemPayload &item, payload->getItems()) {
 
		std::string legacyName = Buddy::JIDToLegacyName(item.getJID());
 
		if (m_buddies.find(legacyName) == m_buddies.end()) {
 
		if (m_buddies.find(legacyName) != m_buddies.end()) {
 
			continue;
 
		}
 

	
0 comments (0 inline, 0 general)