Remove voice memo references and improve duplicate message prevention

- Remove NSMicrophoneUsageDescription from Info.plist and project.yml
- Add millisecond timestamps to prevent same-second message collisions
- Include payload hash in message ID for absolute uniqueness
- Add recentlySentMessages tracking to prevent any duplicate sends
- Reduce retries from 2 to 1 for broadcast messages
- Clean up sent message tracking after 10 seconds
This commit is contained in:
jack
2025-07-04 15:35:26 +02:00
parent da44be9449
commit e3cc469bf8
3 changed files with 48 additions and 30 deletions
-2
View File
@@ -26,8 +26,6 @@
<string>bitchat uses Bluetooth to create a secure mesh network for chatting with nearby users.</string>
<key>NSBluetoothPeripheralUsageDescription</key>
<string>bitchat uses Bluetooth to discover and connect with other bitchat users nearby.</string>
<key>NSMicrophoneUsageDescription</key>
<string>bitchat needs access to your microphone to record voice notes.</string>
<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>