about summary refs log tree commit diff
path: root/spec/mailers/admin_mailer_spec.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-07 11:27:35 +0200
committerGitHub <noreply@github.com>2022-04-07 11:27:35 +0200
commit1b91359a4508b3068207ef4fd798a56549575591 (patch)
tree610ba32c92dbc9bd67d86e4f26c5cca4dcc8db36 /spec/mailers/admin_mailer_spec.rb
parentf382192862893c48cf97f13e9fbfb85b80cdc97d (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