From adf311b1e175f7f5f3a3fc9cbae95e81c557c6d1 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 13:51:59 -0700 Subject: [PATCH] Launch Activity Logic Nucleic-Session: EBB24271-3AB2-4CBD-A47A-59FC73500371 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/RemoteStore.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index fbc55a8..16f7556 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -1284,7 +1284,9 @@ final class RemoteStore: ObservableObject { // A host that dropped should re-register when it returns. pushToStartSentTo = pushToStartSentTo.filter { connections[$0]?.connectivity.isLive == true } for (id, conn) in connections { - guard conn.connectivity.isLive, conn.capabilities.canPushLiveActivity, + // Gate on the dedicated push-to-start bit, not `canPushLiveActivity`: an older host can + // advertise the latter yet throw on the unknown `registerPushToStartToken` tag. + guard conn.connectivity.isLive, conn.capabilities.canPushToStartLiveActivity, !pushToStartSentTo.contains(id) else { continue } conn.send(.registerPushToStartToken(token)) pushToStartSentTo.insert(id)