mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 00:03:09 -06:00
Complete sync send-to-device
This commit is contained in:
parent
f1a6fb2ece
commit
89e0d0f124
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue