mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-18 05:42:20 +01:00
fix: outgoing pings
This commit is contained in:
parent
f152a5e0c7
commit
ee9502bc3e
@ -129,7 +129,7 @@ func (c *Connection) Ping() error {
|
||||
c.mutex.Lock()
|
||||
defer c.mutex.Unlock()
|
||||
|
||||
return wsutil.WriteClientMessage(c.writer, ws.OpPing, nil)
|
||||
return wsutil.WriteClientMessage(c.conn, ws.OpPing, nil)
|
||||
}
|
||||
|
||||
func (c *Connection) WriteMessage(data []byte) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user