minor support to manage profile servers #48

Merged
sarah merged 2 commits from manageProfileServers into trunk 2021-12-08 02:52:04 +00:00
1 changed files with 1 additions and 2 deletions
Showing only changes of commit 35abad7224 - Show all commits

View File

@ -57,7 +57,6 @@ func (gf *GroupFunctionality) GetServerInfo(serverOnion string, profile peer.Cwt
}
}
descPath := attr.LocalScope.ConstructScopedZonedPath(servers.ServerZone.ConstructZonedPath(constants.Description))
description, _ := serverInfo.GetAttribute(descPath.ToString())
description, _ := serverInfo.GetAttribute(attr.LocalScope, servers.ServerZone, constants.Description)
return Server{Onion: serverOnion, Status: connections.ConnectionStateName[profile.GetPeerState(serverInfo.Handle)], Keys: serverKeys, Description: description}
}