mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-22 08:17:28 +00:00
drop notify-on-connect options from background pending connects
The wake-on-proximity arm path was the other place those options were passed.
This commit is contained in:
parent
86fc1adb81
commit
93247de829
@ -343,11 +343,7 @@ final class BLERadioController {
|
||||
for: target.peripheralID
|
||||
)
|
||||
target.peripheral.delegate = self.peripheralDelegate
|
||||
central.connect(target.peripheral, options: [
|
||||
CBConnectPeripheralOptionNotifyOnConnectionKey: true,
|
||||
CBConnectPeripheralOptionNotifyOnDisconnectionKey: true,
|
||||
CBConnectPeripheralOptionNotifyOnNotificationKey: true
|
||||
])
|
||||
central.connect(target.peripheral, options: nil)
|
||||
}
|
||||
SecureLogger.info("🌙 Armed \(targets.count) pending background connect(s) for wake-on-proximity", category: .session)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user