From 35abad7224b0610cd785e7668a38fdf2f6426817 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 7 Dec 2021 18:21:24 -0800 Subject: [PATCH] cwtch attribute changes --- features/groups/group_functionality.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/groups/group_functionality.go b/features/groups/group_functionality.go index edea7a5..77be796 100644 --- a/features/groups/group_functionality.go +++ b/features/groups/group_functionality.go @@ -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} }