mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-26 03:49:01 +02: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