mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 10:35:31 +08:00

This behavior is hard to test as it's mostly fixing a race condition: User A sends a message at the same time than User B, which as a result doesn't cause a scroll for the second message and we don't update last read unless we do a small up and down scroll. `updateLastRead` is debounced so it has no direct consequences to call it slightly more often than what should ideally be needed.