mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-12 19:50:17 +05:00
Fixed import Friends list with groups
This commit is contained in:
parent
6b5947b73e
commit
c83766ad91
@ -1574,7 +1574,7 @@ bool NewFriendList::importFriendlist(QString &fileName, bool &errorPeers, bool &
|
||||
while (!pgpID.isNull()) {
|
||||
// add pgp id to group
|
||||
RsPgpId rsPgpId(pgpID.attribute("id").toStdString());
|
||||
if(rsPgpID.isNull() || !rsPeers->assignPeerToGroup(groupId, rsPgpId, true)) {
|
||||
if(!rsPeers->assignPeerToGroup(groupId, rsPgpId, true)) {
|
||||
errorGroups = true;
|
||||
std::cerr << "FriendList::importFriendlist(): failed to add '" << rsPeers->getGPGName(rsPgpId) << "'' to group '" << groupName << "'" << std::endl;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user