Prevent date headers from appearing for rogue events that appear in the future #198
Labels
A-archive-room-view
The view to look at a room day by day in the archive
hydrogen
Issues which involve https://github.com/vector-im/hydrogen-web
T-Enhancement
New feature or request
Milestone
Follow-up to #182 -> #196
Since we updated Hydrogen in #189, there are date headers throughout the timeline. But in cases like Gitter historical rooms where we imported a bunch of history, we have a lot of timestamp massaged messages with sprinkled in membership from a future date since we couldn't timestamp massage those.
We could prevent date headers from appearing for these rogue events that appear in the future.
Example where we are viewing messages from 2015-11-15 with a bunch of join events from 2023-01-30:
.../roomid/PXiGeGziDhOzVYIsAc:gitter.im/date/2015/11/15
The text was updated successfully, but these errors were encountered: