nvrsion: promote trunk to dev

Nucleic-Promote: 1
This commit is contained in:
Nucleic
2026-06-26 16:18:02 -07:00
parent 1fdb89e6c1
commit 16c7b2cc7e
6 changed files with 188 additions and 3 deletions
@@ -163,7 +163,7 @@ final class RemoteStore: ObservableObject {
let client = SyncClient(
channel: channel, identity: identity, hostStaticKey: payload.hostStaticKey,
mode: .pair(secret: payload.pairingSecret), deviceID: deviceID,
deviceLabel: UIDevice.current.name)
deviceLabel: UIDevice.current.name, pushToken: PushRegistrar.shared.tokenHex)
self.client = client
consume(client, pairingPayload: payload)
}
@@ -181,7 +181,8 @@ final class RemoteStore: ObservableObject {
let channel = makeChannel(endpoint)
let client = SyncClient(
channel: channel, identity: identity, hostStaticKey: host.hostStaticKey,
mode: .reconnect, deviceID: host.deviceID, deviceLabel: UIDevice.current.name)
mode: .reconnect, deviceID: host.deviceID, deviceLabel: UIDevice.current.name,
pushToken: PushRegistrar.shared.tokenHex)
self.client = client
consume(client, pairingPayload: nil)
}