Skip to content

Commit 5e6b7b9

Browse files
committed
add another alternative
1 parent 3a03172 commit 5e6b7b9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

proposals/2716-importing-history-into-existing-rooms.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,21 @@ retrospectively import history. Currently `predecessor` is in the immutable
9898
`m.room.create` event of a room, so cannot be changed retrospectively - and
9999
doing so in a safe and race-free manner sounds Hard.
100100

101+
Another way could be to let the server who issued the m.room.create also go
102+
and retrospectively insert events into the room outside the context of the DAG
103+
(i.e. without parent prev_events or signatures). To quote the original
104+
[bug](https://github.com/matrix-org/matrix-doc/issues/698#issuecomment-259478116):
105+
106+
> You could just create synthetic events which look like normal DAG events but
107+
exist before the m.room.create event. Their signatures and prev-events would
108+
all be missing, but they would be blindly trusted based on the HS who is
109+
allowed to serve them (based on metadata in the m.room.create event). Thus
110+
you'd have a perimeter in the DAG beyond which events are no longer
111+
decentralised or signed, but are blindly trusted to let HSes insert ancient
112+
history provided by ASes.
113+
114+
However, this feels needlessly complicated if the DAG approach is sufficient.
115+
101116
## Security considerations
102117

103118
This allows an AS to tie the room DAG in knots by specifying inappropriate

0 commit comments

Comments
 (0)