mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
21 lines
310 B
Go
21 lines
310 B
Go
package shared
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/matrix-org/dendrite/syncapi/types"
|
|
)
|
|
|
|
type SendToDeviceStreamProvider struct {
|
|
StreamProvider
|
|
}
|
|
|
|
func (p *SendToDeviceStreamProvider) Range(
|
|
ctx context.Context,
|
|
req *types.SyncRequest,
|
|
from, to types.StreamPosition,
|
|
) types.StreamPosition {
|
|
|
|
return to
|
|
}
|