mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Don't send empty version fields.
We used to send a null version field in every message. Don't.
This commit is contained in:
parent
e786e1bd11
commit
1879ec81ea
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ func (c *webClient) PushClient(group, kind, id string, username string, perms []
|
||||||
|
|
||||||
type clientMessage struct {
|
type clientMessage struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Version []string `json:"version"`
|
Version []string `json:"version,omitempty"`
|
||||||
Kind string `json:"kind,omitempty"`
|
Kind string `json:"kind,omitempty"`
|
||||||
Error string `json:"error,omitempty"`
|
Error string `json:"error,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue