refactor(base): Remove the event_id field of PredecessorRoom#5419
refactor(base): Remove the event_id field of PredecessorRoom#5419poljar merged 3 commits intomatrix-org:mainfrom
Conversation
It is going away in MSC4291, which should be accepted next week. Removing it now makes sure that no one uses it. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #5419 +/- ##
==========================================
+ Coverage 88.83% 88.85% +0.02%
==========================================
Files 334 334
Lines 91072 91070 -2
Branches 91072 91070 -2
==========================================
+ Hits 80907 80924 +17
+ Misses 6349 6332 -17
+ Partials 3816 3814 -2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
Hello https://matrix.org/blog/2025/07/security-predisclosure/ was published a while ago with this statement:
Does that mean we need this PR in, or is not using the field explicitly in the client code enough? Details should be published on Monday so happy to wait a bit longer if you don't want to discuss this yet |
A release which includes this PR will happen sooner or later. I don't know the details of the vulnerability myself either, nor how important the removed |
|
The predecessor will fail to deserialize in matrix-sdk 0.13 if the |
|
Note that the removal of the |
Thanks for clarifying this isn't needed right away. I (very roughly) understand the crux of the room confusion problem described in that MSC, but I honestly do not understand the communications around it... Anyway, it's getting late, and my client is pretty much just a wrapper around the sdk so I guess I'll figure it out after upgrading synapse on Monday and my two users will probably forgive me... |
It is going away in MSC4291, which should be accepted next week. Removing it now makes sure that no one uses it.