Surface terminal Nostr DM failures

This commit is contained in:
jack
2026-07-26 00:12:27 +02:00
parent a919dcf18e
commit 2818cd43dd
4 changed files with 224 additions and 7 deletions
@@ -228,9 +228,16 @@ extension ChatViewModel: ChatPrivateConversationContext {
NotificationService.shared.sendPrivateMessageNotification(from: senderName, message: message, peerID: peerID)
}
private func makeGeohashNostrTransport() -> NostrTransport {
let transport = NostrTransport(keychain: keychain, idBridge: idBridge)
func makeGeohashNostrTransport(
dependencies: NostrTransport.Dependencies? = nil
) -> NostrTransport {
let transport = NostrTransport(
keychain: keychain,
idBridge: idBridge,
dependencies: dependencies
)
transport.senderPeerID = meshService.myPeerID
transport.eventDelegate = self
return transport
}
}