fix embedded exception

This commit is contained in:
pascal
2026-02-09 15:28:48 +01:00
parent 7467e9fb8c
commit be5f30225a

View File

@@ -1312,7 +1312,7 @@ func (a *Account) getAllPeersFromGroups(ctx context.Context, groups []string, pe
func (a *Account) getPeerFromResource(resource Resource, peerID string) ([]*nbpeer.Peer, bool) {
peer := a.GetPeer(resource.ID)
if peer == nil || peer.ProxyEmbedded {
if peer == nil {
return []*nbpeer.Peer{}, false
}