23 lines
763 B
TypeScript
23 lines
763 B
TypeScript
// Module ID: 9801
|
|
// Function ID: 9802
|
|
// Name: ChannelMuteUtils
|
|
// Dependencies: [4461, 2]
|
|
// Exports: getMuteSettings
|
|
|
|
// Module 9801 (ChannelMuteUtils)
|
|
import _modDef4461 from "module_4461" /* 4461 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const result = size.fileFinishedImporting("modules/channel/ChannelMuteUtils.tsx");
|
|
|
|
export const getMuteSettings = function getMuteSettings(selected_time_window) {
|
|
let toISOStringResult;
|
|
const mute_config = { selected_time_window, end_time: toISOStringResult };
|
|
toISOStringResult = null;
|
|
if (selected_time_window > 0) {
|
|
const obj2 = _modDef4461();
|
|
const addResult = obj2.add(selected_time_window, "second");
|
|
toISOStringResult = addResult.toISOString();
|
|
}
|
|
return { muted: true, mute_config };
|
|
};
|