fix: retrieve read-only state for realtime user status adapter from connection

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-05-09 11:19:57 +02:00
parent f012282a41
commit 2f59869e12
4 changed files with 29 additions and 24 deletions
backend/src/realtime/realtime-note

View file

@ -51,7 +51,7 @@ export class RealtimeConnection {
this.user?.username ?? null,
this.getDisplayName(),
this,
acceptEdits,
() => acceptEdits,
);
}