mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-31 15:18:38 -04:00
fix: retrieve read-only state for y-doc-sync-server-adapter from connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
29afcce555
commit
eebbb79d08
3 changed files with 5 additions and 5 deletions
|
@ -105,13 +105,13 @@ describe('message transporter', () => {
|
|||
const yDocSyncAdapterServerTo1 = new YDocSyncServerAdapter(
|
||||
transporterServerTo1,
|
||||
docServer,
|
||||
true
|
||||
() => true
|
||||
)
|
||||
|
||||
const yDocSyncAdapterServerTo2 = new YDocSyncServerAdapter(
|
||||
transporterServerTo2,
|
||||
docServer,
|
||||
true
|
||||
() => true
|
||||
)
|
||||
|
||||
const waitForClient1Sync = new Promise<void>((resolve) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue