From 25b6974219a8245806a269e9e7133757d43950ae Mon Sep 17 00:00:00 2001 From: Andrew Lytvynov Date: Thu, 19 Oct 2023 12:50:21 -0700 Subject: [PATCH] ipn/ipnlocal: send ClientVersion to Apple frontends (#9887) Apple frontends will now understand this Notify field and handle it. Updates #755 Signed-off-by: Andrew Lytvynov --- ipn/ipnlocal/local.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 682add38e..96bb69a6f 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -2344,16 +2344,7 @@ func (b *LocalBackend) onClientVersion(v *tailcfg.ClientVersion) { b.mu.Lock() b.lastClientVersion = v b.mu.Unlock() - switch runtime.GOOS { - case "darwin", "ios": - // These auto-update well enough, and we haven't converted the - // ClientVersion types to Swift yet, so don't send them in ipn.Notify - // messages. - default: - // But everything else is a Go client and can deal with this field, even - // if they ignore it. - b.send(ipn.Notify{ClientVersion: v}) - } + b.send(ipn.Notify{ClientVersion: v}) } // For testing lazy machine key generation.