Disable subscribe/unsubscribe commands temporarily

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-23 13:07:14 +01:00
parent 2ae3e1fbda
commit 48f03354d3
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -36,21 +36,21 @@ class Command extends PlayerConnectionEvent {
return jsonEncode(toJson());
}
factory Command.subscribe(String property) {
return Command(
type: 'subscribe',
value: {
'property': property,
},
);
}
// factory Command.subscribe(String property) {
// return Command(
// type: 'subscribe',
// value: {
// 'property': property,
// },
// );
// }
factory Command.unsubscribeAll() {
return Command(
type: 'unsubscribe_all',
value: {},
);
}
// factory Command.unsubscribeAll() {
// return Command(
// type: 'unsubscribe_all',
// value: {},
// );
// }
factory Command.load(String url) {
return Command(