diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 08d22e730..e6df1269f 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2060,12 +2060,8 @@ func (b *LocalBackend) FileTargets() ([]*FileTarget, error) { if b.state != ipn.Running || nm == nil { return nil, errors.New("not connected") } - now := time.Now() for _, p := range nm.Peers { - if p.User != nm.User || p.LastSeen == nil { - continue - } - if t := *p.LastSeen; now.Sub(t) > 30*time.Minute { + if p.User != nm.User { continue } peerAPI := peerAPIBase(b.netMap, p)