Remove "disableSendMetadata" patch

This commit is contained in:
redphx 2024-10-22 10:42:43 +07:00
parent 6cfff0274d
commit 222ad1c34e

View File

@ -972,15 +972,6 @@ if (this.baseStorageKey in window.BX_EXPOSED.overrideSettings) {
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 = [
@ -1056,10 +1047,6 @@ let PLAYING_PATCH_ORDERS: PatchArray = [
'alwaysShowStreamHud',
...(getPref(PrefKey.BLOCK_TRACKING) ? [
'disableSendMetadata',
] : []),
// 'exposeEventTarget',
// Patch volume control for normal stream