23 lines
766 B
TypeScript
23 lines
766 B
TypeScript
// Module ID: 10364
|
|
// Function ID: 10365
|
|
// Name: ChannelMuteUtils
|
|
// Dependencies: [4661, 2]
|
|
// Exports: getMuteSettings
|
|
|
|
// Module 10364 (ChannelMuteUtils)
|
|
import _modDef4661 from "module_4661" /* 4661 */;
|
|
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 = _modDef4661();
|
|
const addResult = obj2.add(selected_time_window, "second");
|
|
toISOStringResult = addResult.toISOString();
|
|
}
|
|
return { muted: true, mute_config };
|
|
};
|