nodes: retain username/password for custom nodes

This commit is contained in:
tobtoht 2023-05-29 21:11:26 +02:00
parent 579725dd8d
commit e746ccd6f0
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -387,9 +387,9 @@ void Nodes::setCustomNodes(const QList<FeatherNode> &nodes) {
QStringList nodesList;
for (auto const &node: nodes) {
if (nodesList.contains(node.toAddress())) // skip duplicates
if (nodesList.contains(node.toFullAddress())) // skip duplicates
continue;
nodesList.append(node.toAddress());
nodesList.append(node.toFullAddress());
m_customNodes.append(node);
}