You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-25 05:23:13 +03:00
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