mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Remove "disableSendMetadata" patch
This commit is contained in:
parent
6cfff0274d
commit
222ad1c34e
@ -972,15 +972,6 @@ if (this.baseStorageKey in window.BX_EXPOSED.overrideSettings) {
|
|||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
|
|
||||||
disableSendMetadata(str: string) {
|
|
||||||
let text = 'this.sendMetadata(),this.isStreamActive()';
|
|
||||||
if (!str.includes(text)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
str = str.replaceAll(text, 'true; return;' + text);
|
|
||||||
return str;
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let PATCH_ORDERS: PatchArray = [
|
let PATCH_ORDERS: PatchArray = [
|
||||||
@ -1056,10 +1047,6 @@ let PLAYING_PATCH_ORDERS: PatchArray = [
|
|||||||
|
|
||||||
'alwaysShowStreamHud',
|
'alwaysShowStreamHud',
|
||||||
|
|
||||||
...(getPref(PrefKey.BLOCK_TRACKING) ? [
|
|
||||||
'disableSendMetadata',
|
|
||||||
] : []),
|
|
||||||
|
|
||||||
// 'exposeEventTarget',
|
// 'exposeEventTarget',
|
||||||
|
|
||||||
// Patch volume control for normal stream
|
// Patch volume control for normal stream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user