Add sync value

This commit is contained in:
Melon 2023-11-25 12:25:07 +00:00
parent 43d1e56c88
commit d970469645
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -69,7 +69,7 @@ func (c *Client) HandleWS(action string, args json.RawMessage) (map[string]any,
if err != nil {
return nil, err
}
return map[string]any{"type": "fetch", "sync": 0, "value": marshal.MessageSliceJson(fetch)}, nil
return map[string]any{"type": "fetch", "sync": fetchArgs.Sync, "value": marshal.MessageSliceJson(fetch)}, nil
case "move":
// TODO: implementation
case "rename":