dendrite/syncapi/storage/shared/stream_sendtodevice.go
2021-01-06 14:37:09 +00:00

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
}