diff options
Diffstat (limited to 'syncapi/sync/request.go')
-rw-r--r-- | syncapi/sync/request.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/syncapi/sync/request.go b/syncapi/sync/request.go index 0996729e..d5cf143d 100644 --- a/syncapi/sync/request.go +++ b/syncapi/sync/request.go @@ -65,8 +65,7 @@ func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Dat since = &tok } if since == nil { - tok := types.NewStreamToken(0, 0, nil) - since = &tok + since = &types.StreamingToken{} } timelineLimit := DefaultTimelineLimit // TODO: read from stored filters too |