Do not send buddies in empty group

This commit is contained in:
HanzZ 2012-02-17 16:40:49 +01:00
parent cc9d7c7950
commit 18ba1b7ac4

View file

@ -534,7 +534,9 @@ bool Skype::loadSkypeBuddies() {
}
std::vector<std::string> groups;
groups.push_back(group_map[buddy]);
if (group_map.find(buddy) != group_map.end()) {
groups.push_back(group_map[buddy]);
}
np->handleBuddyChanged(m_user, buddy, alias, groups, status, mood_text);
}
}