1
Fork 0

Don't send empty version fields.

We used to send a null version field in every message.  Don't.
This commit is contained in:
Juliusz Chroboczek 2023-04-29 19:59:36 +02:00
parent e786e1bd11
commit 1879ec81ea
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ func (c *webClient) PushClient(group, kind, id string, username string, perms []
type clientMessage struct {
Type string `json:"type"`
Version []string `json:"version"`
Version []string `json:"version,omitempty"`
Kind string `json:"kind,omitempty"`
Error string `json:"error,omitempty"`
Id string `json:"id,omitempty"`