mirror of
https://github.com/fosrl/olm.git
synced 2026-02-07 21:46:40 +00:00
@@ -657,8 +657,11 @@ func (c *Client) pingMonitor() {
|
||||
c.configVersionMux.RUnlock()
|
||||
|
||||
pingMsg := WSMessage{
|
||||
Type: "ping",
|
||||
Data: map[string]interface{}{},
|
||||
Type: "olm/ping",
|
||||
Data: map[string]any{
|
||||
"timestamp": time.Now().Unix(),
|
||||
"userToken": c.config.UserToken,
|
||||
},
|
||||
ConfigVersion: configVersion,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user