Complete sync send-to-device

This commit is contained in:
Neil Alexander 2021-01-07 11:21:05 +00:00
parent f1a6fb2ece
commit 89e0d0f124
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -14,7 +14,7 @@ func (p *SendToDeviceStreamProvider) CompleteSync(
ctx context.Context,
req *types.SyncRequest,
) types.StreamPosition {
return p.LatestPosition(ctx)
return p.IncrementalSync(ctx, req, 0, p.LatestPosition(ctx))
}
func (p *SendToDeviceStreamProvider) IncrementalSync(