mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-04-04 01:48:02 +02:00
relaypool: continue on ping msg
This commit is contained in:
parent
dd43f4c495
commit
c0a2be91a1
@ -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] != '[' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user