refactor: make displayName readonly

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-05-08 18:07:59 +02:00
parent 3c1ea7bda9
commit 02a3b7f07b

View file

@ -19,8 +19,7 @@ export class RealtimeConnection {
private readonly transporter: MessageTransporter;
private readonly yDocSyncAdapter: YDocSyncServerAdapter;
private readonly realtimeUserStateAdapter: RealtimeUserStatusAdapter;
private displayName: string;
private readonly displayName: string;
/**
* Instantiates the connection wrapper.