mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-12 22:26:08 -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
|
@ -46,7 +46,7 @@ export class RealtimeConnection {
|
|||
this.yDocSyncAdapter = new YDocSyncServerAdapter(
|
||||
this.transporter,
|
||||
realtimeNote.getRealtimeDoc(),
|
||||
acceptEdits,
|
||||
() => acceptEdits,
|
||||
);
|
||||
this.realtimeUserStateAdapter = new RealtimeUserStatusAdapter(
|
||||
this.user?.username ?? null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue