decord/source/modules/notifications/native/playInAppMessageSound.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

36 lines
1.2 KiB
TypeScript

// Module ID: 10032
// Function ID: 10033
// Name: playInAppMessageSound
// Dependencies: [10010, 10033, 673, 1623, 9831, 2]
// Exports: playInAppMessageSound
// Module 10032 (playInAppMessageSound)
import isMetaQuest from "isMetaQuest" /* 1623 */;
import closure_2 from "DesktopNotificationTypes" /* 10010 */;
import { isInAppMessageSoundsEnabled as closure_3 } from "isInAppMessageSoundsEnabled" /* 10033 */;
import { InAppNotificationTypes } from "ME" /* 673 */;
require = arg1;
const message1 = "message1";
let c6 = 0;
const result = require("set").fileFinishedImporting("modules/notifications/native/playInAppMessageSound.tsx");
export const playInAppMessageSound = function playInAppMessageSound(notification) {
if (notification.type === InAppNotificationTypes.MESSAGE) {
if (obj2.isMetaQuest()) {
if (callback()) {
if (!soundDisabled.isSoundDisabled(message1)) {
const _Date = Date;
const timestamp = Date.now();
if (timestamp - timestamp >= 1000) {
tmp8(9831).playSound(tmp3, 0.4);
const tmp8Result = tmp8(9831);
}
}
tmp3 = message1;
}
}
obj2 = isMetaQuest;
tmp8 = require;
}
};