damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | LICENSE

commit ec1db64370cb3bf629d09eb2ce0172eb7be1d598
parent 36043cf20ad8be3ba4106e25594f231d8bc1f4d2
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 16 Apr 2022 16:03:22 -0700

fix horrible connection issue

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Nostr/RelayConnection.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Nostr/RelayConnection.swift b/damus/Nostr/RelayConnection.swift @@ -21,7 +21,7 @@ class RelayConnection: WebSocketDelegate { init(url: URL, handleEvent: @escaping (NostrConnectionEvent) -> ()) { var req = URLRequest(url: url) req.timeoutInterval = 5 - self.socket = WebSocket(request: req, certPinner: nil, compressionHandler: .none, useCustomEngine: false) + self.socket = WebSocket(request: req, certPinner: nil, compressionHandler: .none, useCustomEngine: true) self.handleEvent = handleEvent socket.delegate = self