diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index be50f16..419fdde 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -558,6 +558,11 @@ final class RemoteStore: ObservableObject { var cb = HostConnection.Callbacks() cb.didUpdate = { [weak self] in guard let self else { return } + // Complete a session opened before its owning Mac was live — a Live Activity / + // notification cold-launch deep link opens the detail while the app is still dialing, so + // `open()` couldn't bind it to a connection that didn't exist yet. Runs before the merge + // so the aggregate picks up the freshly-bound host's connectivity/scope this pass. + self.bindOpenSessionIfNeeded() // Any host's change re-merges the aggregate the flat state binds to (mesh P3). self.rebuildAggregate() self.refreshAggregate()