mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-20 19:17:54 +01:00
relaypool: continue on ping msg
This commit is contained in:
@@ -103,6 +103,7 @@ func (r *RelayPool) Add(url string, policy RelayPoolPolicy) error {
|
||||
}
|
||||
if typ == websocket.PingMessage {
|
||||
conn.WriteMessage(websocket.PongMessage, nil)
|
||||
continue
|
||||
}
|
||||
|
||||
if typ != websocket.TextMessage || len(message) == 0 || message[0] != '[' {
|
||||
|
||||
Reference in New Issue
Block a user