mirror of
https://github.com/mastodon/mastodon
synced 2025-04-12 00:56:38 +02:00

In some rare cases, when receiving statuses out of order from the streaming API then polling from the REST API, it was possible for the `expandNormalizedTimeline` function to insert duplicates in the timeline, which would then result in several bugs. This commits ensures that there are no duplicates inserted in the timeline.