about summary refs log tree commit diff
path: root/app/models/preview_card_provider.rb
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-06 21:01:41 +0200
committerGitHub <noreply@github.com>2022-04-06 21:01:41 +0200
commitdd4c156f33a24b8bb89b45b2697aa4036c3ae5be (patch)
tree3726f6265dc512e748b8c4ebccd2580b6a1c3b59 /app/models/preview_card_provider.rb
parent8f91e304a5adb98b657a5c096359d0423a5d7e84 (diff)
Fix possible duplicate statuses in timelines in some edge cases (#17971)
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.
Diffstat (limited to 'app/models/preview_card_provider.rb')
0 files changed, 0 insertions, 0 deletions