1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
Files
matrix-js-sdk/spec/unit
J. Ryan Stinnett 4b0db6c472 Guard against duplicates in Relations model
The `Relations` model was relying on object reference equality to prevent
duplicates, which breaks down if we ever have two objects that represent the
same event.

This fixes things to additionally track event IDs we've seen before and discard
any attempts to add them twice.

Fixes https://github.com/vector-im/element-web/issues/11161
2021-05-19 13:20:40 +01:00
..
2021-04-20 12:58:33 +01:00
2020-06-19 19:31:43 -04:00
2019-12-17 15:16:37 -07:00
2020-04-17 19:56:32 -03:00
2020-05-27 13:32:28 -06:00
2019-12-17 15:16:37 -07:00
2020-07-21 10:00:16 +01:00