mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-14 07:04:45 -04:00
fix: allow change of accept edits in realtime connection
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
eebbb79d08
commit
3c1ea7bda9
2 changed files with 20 additions and 14 deletions
|
@ -35,7 +35,7 @@ export class RealtimeConnection {
|
|||
messageTransporter: MessageTransporter,
|
||||
private user: User | null,
|
||||
private realtimeNote: RealtimeNote,
|
||||
private acceptEdits: boolean,
|
||||
public acceptEdits: boolean,
|
||||
) {
|
||||
this.displayName = user?.displayName ?? generateRandomName();
|
||||
this.transporter = messageTransporter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue