Browse Source

WaitGetPeer now uses public scoped names

publicnameprefer
Sarah Jamie Lewis 1 month ago
parent
commit
4859a90d02
  1. 2
      app/utils/utils.go

2
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
}

Loading…
Cancel
Save