-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Synapse returns unspecced property original_event
from /relations
#12930
Comments
Another use-case to consider: When does this happen? After an initial sync without the whole history loaded and in the case client needs to render some out-of-timeline event due to a reference to an (potentially very) old event ( So in short, in order to then query the most recent state of an event, one would have to call the With the |
Well, MSC2676 is concluded and in the process of being specced, so it would need to be a new MSC if there is a viable usecase for it. |
I haven't fully grokked your comment, but this part is incorrect: you can use |
Unfortunately, not. In the case of e2ee rooms, the last applicable edit will not return anything, since the query (SQL 1, 2 in my comment) only checks for m.room.message. Hence, the server won't return the most-up-to-date-version. |
Ah, I had missed this already had FCP proposed on it. I think you're correct though that with a combination of using |
It looks like the matrix-js-sdk, matrix-android-sdk2 and matrix-ios-sdk all use this field in the response. |
Thanks for checking into that, @clokep. Would you be able to raise issues against the relevant projects? |
(I'd like us to set a timeline for removing this field. Is 6 months realistic?) |
The following SDKs do not seem to use this property:
I also shouted in the client devs room. |
#14025 removes this field when using the |
ftr, bot-sdk's usage is in an unstable part of the codebase, so if people are using it then that sucks for them :p |
Per matrix-org/matrix-widget-api#75, the field was also (safely) used by the widget-api. At a glance, it looks like it won't explode if the field goes missing. |
Synapse's implementation of
/relations
returns an unspecced propertyoriginal_event
:https://github.com/matrix-org/synapse/blob/v1.60.0/synapse/handlers/relations.py#L166
This is not defined in the MSC so should be removed.
The text was updated successfully, but these errors were encountered: