mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00:00
Use correct stream provider in Latest
for ReceiptPosition
This commit is contained in:
parent
23f028cf6e
commit
849e40d456
@ -69,7 +69,7 @@ func (s *Streams) Latest(ctx context.Context) types.StreamingToken {
|
|||||||
return types.StreamingToken{
|
return types.StreamingToken{
|
||||||
PDUPosition: s.PDUStreamProvider.LatestPosition(ctx),
|
PDUPosition: s.PDUStreamProvider.LatestPosition(ctx),
|
||||||
TypingPosition: s.TypingStreamProvider.LatestPosition(ctx),
|
TypingPosition: s.TypingStreamProvider.LatestPosition(ctx),
|
||||||
ReceiptPosition: s.PDUStreamProvider.LatestPosition(ctx),
|
ReceiptPosition: s.ReceiptStreamProvider.LatestPosition(ctx),
|
||||||
InvitePosition: s.InviteStreamProvider.LatestPosition(ctx),
|
InvitePosition: s.InviteStreamProvider.LatestPosition(ctx),
|
||||||
SendToDevicePosition: s.SendToDeviceStreamProvider.LatestPosition(ctx),
|
SendToDevicePosition: s.SendToDeviceStreamProvider.LatestPosition(ctx),
|
||||||
AccountDataPosition: s.AccountDataStreamProvider.LatestPosition(ctx),
|
AccountDataPosition: s.AccountDataStreamProvider.LatestPosition(ctx),
|
||||||
|
Loading…
Reference in New Issue
Block a user