mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 03:25:19 +00:00
Harden PTT audio and the 1.7.1 release (#1423)
Centralize PTT and voice audio-session ownership, harden courier/bridge/outbox delivery and recovery, correct location and delivery-state races, add privacy/release metadata, and ship reproducible universal Arti slices with Release CI coverage. Validated by the full iOS suite, repeated audio/fragment/performance regressions, BitFoundation tests, strict lint and dead-code analysis, universal iOS Release builds, and iOS/macOS archives.
This commit is contained in:
@@ -130,6 +130,14 @@ struct ChatViewModelDeliveryStatusTests {
|
||||
|
||||
#expect(Conversation.shouldSkipStatusUpdate(current: .delivered(to: "Peer", at: Date()), new: .sending))
|
||||
#expect(Conversation.shouldSkipStatusUpdate(current: .read(by: "Peer", at: Date()), new: .sending))
|
||||
#expect(Conversation.shouldSkipStatusUpdate(
|
||||
current: .delivered(to: "Peer", at: Date()),
|
||||
new: .failed(reason: "late transport failure")
|
||||
))
|
||||
#expect(Conversation.shouldSkipStatusUpdate(
|
||||
current: .read(by: "Peer", at: Date()),
|
||||
new: .failed(reason: "late transfer failure")
|
||||
))
|
||||
// A late async `.sending` (pre-handshake resend) must not visibly
|
||||
// downgrade a truthful "Sent" either...
|
||||
#expect(Conversation.shouldSkipStatusUpdate(current: .sent, new: .sending))
|
||||
|
||||
Reference in New Issue
Block a user