mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-08-17 15:08:31 +00:00
Update engine.ts
This commit is contained in:
@@ -1738,7 +1738,9 @@ export class RoomEngine extends EventEmitter {
|
||||
|
||||
public updateEnvOptions(options: RoomState['env']['options']) {
|
||||
this.roomState.env.options = options;
|
||||
this.sr.disableSnapshotRendering();
|
||||
this.envManager.applyOptions(options);
|
||||
this.sr.enableSnapshotRendering();
|
||||
this.ev('changeRoomState', { roomState: this.roomState });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user