Open vmcj opened 6 months ago
This should be as 'easy' as:
addMissingStateEvents
at the correct times to insert the state events.But the state events are a bit interesting: since static events should not really matter and can come before any other event, we can first create all of these and then while looping over the other events, make sure to add the state event at the correct time.
We need to drop all existing connections as well, right? Or at least add some form of synchronization mechanism...
We need to drop all existing connections as well, right? Or at least add some form of synchronization mechanism...
Yeah and have new event ID's, as in if a client users since=<token>
with a token we don't know about, we should return a 400.
So we need some way of putting down somewhere when the feed was last reset. We could mis-use the config table for that or something else.
Description of the enhancement request
The goal you want to achieve