mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-26 14:45:22 +00:00
Surface terminal Nostr DM failures
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user