mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 07:05:20 +00:00
- Fix NSInvalidArgumentException crash by adding thread-safe access to peerNicknames - Fix 'can only accept commands while connected' by checking peripheral state - Add safety checks for characteristic write properties - Clean up disconnected peripherals from tracking - Prevent type confusion in getAllConnectedPeerIDs These fixes address the crash when accessing peerNicknames dictionary which could be corrupted by concurrent access from multiple threads.