make last-of-kind per-relay
also fix multiple subscriptions otherwise wonky things happen Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
1 parent
78c5b47f11
commit
0c63433f8e
2 files changed
+43
-28
No files matched your search
@@ -148,6 +148,8 @@ func make_nostr_subscription_req(_ filters: [NostrFilter], sub_id: String) -> St
|
||||
}
|
||||
|
||||
func make_websocket(url: URL) -> WebSocket {
|
||||
return WebSocket(request: URLRequest(url: url), compressionHandler: .none)
|
||||
var req = URLRequest(url: url)
|
||||
//req.setValue("chat,superchat", forHTTPHeaderField: "Sec-WebSocket-Protocol")
|
||||
return WebSocket(request: req, compressionHandler: .none)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user