diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 068d3a9..df9c481 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -490,6 +490,9 @@ final class RemoteStore: ObservableObject { if hostID == self.activeHostID { self.mirrorActive() } self.refreshAggregate() self.flushPendingNotificationDecision() + // A host that just connected (or reconnected) needs the current Live Activity token + // so it can push while the phone is away. + self.syncLiveActivityRegistration() } cb.openSnapshot = { [weak self] snap in guard let self, hostID == self.activeHostID, snap.summary.sessionID == self.openSessionID else { return }