mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 03:24:18 +02:00
wip
This commit is contained in:
@@ -182,6 +182,22 @@ export class RoomController {
|
||||
}
|
||||
}
|
||||
|
||||
public changeHeyaType(type: RoomState['heya']['type']) {
|
||||
if (this.worker != null) {
|
||||
this.worker.postMessage({ type: 'changeHeyaType', heyaType: type });
|
||||
} else if (this.engine != null) {
|
||||
this.engine.changeHeyaType(type);
|
||||
}
|
||||
}
|
||||
|
||||
public updateHeyaOptions(options: RoomState['heya']['options']) {
|
||||
if (this.worker != null) {
|
||||
this.worker.postMessage({ type: 'updateHeyaOptions', heyaOptions: options });
|
||||
} else if (this.engine != null) {
|
||||
this.engine.updateHeyaOptions(options);
|
||||
}
|
||||
}
|
||||
|
||||
public beginSelectedInstalledObjectGrabbing() {
|
||||
if (this.worker != null) {
|
||||
this.worker.postMessage({ type: 'beginSelectedInstalledObjectGrabbing' });
|
||||
|
||||
Reference in New Issue
Block a user