diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-04-07 11:27:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-07 11:27:35 +0200 |
commit | 1b91359a4508b3068207ef4fd798a56549575591 (patch) | |
tree | 610ba32c92dbc9bd67d86e4f26c5cca4dcc8db36 /spec/mailers/admin_mailer_spec.rb | |
parent | f382192862893c48cf97f13e9fbfb85b80cdc97d (diff) |
Fix older items possibly disappearing on timeline updates (#17980)
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 remove older items from the timeline. This commit ensures that any item from the replaced slice that is older than the oldest item retrieved from the API gets added back to the replaced slice.
Diffstat (limited to 'spec/mailers/admin_mailer_spec.rb')
0 files changed, 0 insertions, 0 deletions