Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Cherry-pick typing fix from #2061
Browse files Browse the repository at this point in the history
Co-authored-by: Tommie Gannert <[email protected]>
  • Loading branch information
neilalexander and tommie committed Dec 3, 2021
1 parent 08a0278 commit b7f09f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syncapi/consumers/eduserver_typing.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func NewOutputTypingEventConsumer(
func (s *OutputTypingEventConsumer) Start() error {
s.eduCache.SetTimeoutCallback(func(userID, roomID string, latestSyncPosition int64) {
pos := types.StreamPosition(latestSyncPosition)
s.stream.Advance(pos)
s.notifier.OnNewTyping(roomID, types.StreamingToken{TypingPosition: pos})
})
return s.typingConsumer.Start()
Expand Down

0 comments on commit b7f09f7

Please sign in to comment.