Commit 1879ec81 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't send empty version fields.

We used to send a null version field in every message.  Don't.
parent e786e1bd
......@@ -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"`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment