0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-11 12:21:07 +01:00

Don't fast-forward typing notifications either on complete sync

This commit is contained in:
Neil Alexander 2021-01-29 14:48:21 +00:00
parent bc23f46acb
commit 01471f7843
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

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