New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
m.room.tombstone should reference the new room's create event #407
Comments
this leads to a bit of a chicken-and-egg situation. The create event currently points to the tombstone, so has to be created after the tombstone. For the tombstone to point to the create, it would have to be created after the create event. I suppose we could create a second tombstone event once we know the event id of the create event, but it seems a bit inelegant. Of course, I now can't remember why we decided that the create event needed to link to the tombstone anyway. Is that actually used anywhere? Perhaps we could swap them around. |
It might be possible if the server reserves the event ID of either side before sending out the events. Something like:
I think there's value in having both directions be strongly linked, although on retrospect having it be tombstone->new room feels more useful than the other way around. |
in an imminent room version, event IDs will be based on the content of the event rather than generated in advance: matrix-org/matrix-spec-proposals#1640 |
Well that certainly makes things harder. I guess it's a question of which direction are people going to find the most value in, and doing that. |
As a client author I really don't have a problem with having just room ids; but I'm only dealing with clients that run a Even without a sync loop, one can still use a one-off |
kitsune's argument is convincing to me. Sounds like we should reverse the direction of the event id link. |
Background: MSC1501 adds room upgrade support, which is where
m.room.tombstone
comes from.An event ID in the tombstone event makes it easier for clients to jump to the new room at the beginning of the timeline.
The text was updated successfully, but these errors were encountered: