mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 00:45:21 +00:00
[codex] Refactor BLE transport event handling (#1266)
* Refactor BLE transport event handling * Make image output paths unique * Keep queued Nostr read receipts alive * Allow self-authored RSR ingress replies --------- Co-authored-by: jack <jackjackbits@users.noreply.github.com>
This commit is contained in:
@@ -42,6 +42,7 @@ struct ChatViewModelInitializationTests {
|
||||
|
||||
// The viewModel should set itself as the transport delegate
|
||||
#expect(transport.delegate === viewModel)
|
||||
#expect(transport.eventDelegate === viewModel)
|
||||
}
|
||||
|
||||
@Test @MainActor
|
||||
@@ -421,6 +422,7 @@ struct ChatViewModelReceivingTests {
|
||||
// Message may or may not appear due to rate limiting/pipeline batching
|
||||
// The important thing is no crash and delegate was called
|
||||
#expect(transport.delegate === viewModel)
|
||||
#expect(transport.eventDelegate === viewModel)
|
||||
}
|
||||
|
||||
@Test @MainActor
|
||||
|
||||
Reference in New Issue
Block a user