-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
Description
Thinking about the y.js web socket reconnect that happens to cause some troubles, I think we should also ensure that a reconnect is only reusing the existing y.js state on the frontend if we know for sure that the document hasn't been reset in the meantime on the server (as this might still happen on the background job).
My suggestion would be to store the timestamp of the initial creation in oc_text_documents and make sure to compare that in the reconnect logic somehow. If the initial creation time is different we reload the full editor.
@max-nextcloud What do you think about that?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
☑️ Done