From c83766ad91f4f601631ff537ea923ffb45df2197 Mon Sep 17 00:00:00 2001 From: defnax <9952056+defnax@users.noreply.github.com> Date: Tue, 21 Apr 2026 18:03:48 +0200 Subject: [PATCH] Fixed import Friends list with groups --- retroshare-gui/src/gui/common/NewFriendList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/common/NewFriendList.cpp b/retroshare-gui/src/gui/common/NewFriendList.cpp index 21f39573e..1f4fe9444 100644 --- a/retroshare-gui/src/gui/common/NewFriendList.cpp +++ b/retroshare-gui/src/gui/common/NewFriendList.cpp @@ -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; }