mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 22:05:21 +00:00
fix: Remove unused variable and bump version to 1.5.1
- Remove unused messageType variable (compiler warning fix) - Bump marketing version to 1.5.1 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
MARKETING_VERSION = 1.5.0
|
MARKETING_VERSION = 1.5.1
|
||||||
CURRENT_PROJECT_VERSION = 1
|
CURRENT_PROJECT_VERSION = 1
|
||||||
|
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 16.0
|
IPHONEOS_DEPLOYMENT_TARGET = 16.0
|
||||||
|
|||||||
@@ -827,7 +827,6 @@ final class BLEService: NSObject {
|
|||||||
|
|
||||||
private func validatePacket(_ packet: BitchatPacket, from peerID: PeerID, connectionSource: ConnectionSource = .unknown) -> Bool {
|
private func validatePacket(_ packet: BitchatPacket, from peerID: PeerID, connectionSource: ConnectionSource = .unknown) -> Bool {
|
||||||
let currentTime = UInt64(Date().timeIntervalSince1970 * 1000)
|
let currentTime = UInt64(Date().timeIntervalSince1970 * 1000)
|
||||||
let messageType = MessageType(rawValue: packet.type)
|
|
||||||
|
|
||||||
let isRSR = packet.isRSR
|
let isRSR = packet.isRSR
|
||||||
var skipTimestampCheck = false
|
var skipTimestampCheck = false
|
||||||
|
|||||||
Reference in New Issue
Block a user