Add Remote Release Channel Check
Nucleic-Session: 7D1A5F60-CF2F-44E6-B060-51C4C2EA79D1 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -293,7 +293,8 @@ final class RemoteStore: ObservableObject {
|
|||||||
let client = SyncClient(
|
let client = SyncClient(
|
||||||
channel: channel, identity: identity, hostStaticKey: payload.hostStaticKey,
|
channel: channel, identity: identity, hostStaticKey: payload.hostStaticKey,
|
||||||
mode: .pair(secret: payload.pairingSecret), deviceID: deviceID,
|
mode: .pair(secret: payload.pairingSecret), deviceID: deviceID,
|
||||||
deviceLabel: UIDevice.current.name, pushToken: PushRegistrar.shared.tokenHex)
|
deviceLabel: UIDevice.current.name, pushToken: PushRegistrar.shared.tokenHex,
|
||||||
|
releaseChannel: BuildInfo.current.channel.releaseChannel)
|
||||||
self.client = client
|
self.client = client
|
||||||
consume(client, pairingPayload: payload)
|
consume(client, pairingPayload: payload)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user