Do no add buddies twice in gateway mode
This commit is contained in:
parent
4c885cc947
commit
0bf2d89a7f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue