From 4859a90d028ff65388b84440ff8f545ba23288a5 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 26 Oct 2021 14:50:05 -0700 Subject: [PATCH] WaitGetPeer now uses public scoped names --- app/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/utils.go b/app/utils/utils.go index 3d19bd6..66c5116 100644 --- a/app/utils/utils.go +++ b/app/utils/utils.go @@ -16,7 +16,7 @@ func WaitGetPeer(app app2.Application, name string) peer.CwtchPeer { for { for _, handle := range app.ListProfiles() { peer := app.GetPeer(handle) - localName, _ := peer.GetScopedZonedAttribute(attr.LocalScope, attr.ProfileZone, constants.Name) + localName, _ := peer.GetScopedZonedAttribute(attr.PublicScope, attr.ProfileZone, constants.Name) if localName == name { return peer }