You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2026-01-03 23:22:30 +03:00
After /send completes, we check the room to see if the echo has already come back via /sync. It's a bit of an edge-case, but we ought to check all timelines, not just the live one. Furthermore, we now have a map from eventId to timeline, so we can handle the case where the echo has *not* yet come back more efficiently than searching through the whole timeline.