2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 14869
|
|
|
|
|
// Function ID: 14870
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: onGoLiveNotificationSettingsChanged
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [676, 4036, 4069, 698, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onGoLiveNotificationSettingsChanged
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 14869 (onGoLiveNotificationSettingsChanged)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import ME from "ME" /* 676 */;
|
|
|
|
|
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
|
|
|
|
|
import AccountNotificationFlags from "AccountNotificationFlags" /* 4036 */;
|
|
|
|
|
import explicitContentFromProto from "explicitContentFromProto" /* 4069 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const AnalyticEvents = ME.AnalyticEvents;
|
|
|
|
|
let closure_4 = AccountNotificationFlags.NotificationSettingsUpdateType;
|
|
|
|
|
const result = set.fileFinishedImporting("modules/go_live/GoLiveNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onGoLiveNotificationSettingsChanged = function onGoLiveNotificationSettingsChanged(go_live_notifications) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const StreamNotificationsEnabled = explicitContentFromProto.StreamNotificationsEnabled;
|
2026-07-20 16:05:17 +00:00
|
|
|
StreamNotificationsEnabled.updateSetting(go_live_notifications);
|
2026-08-24 06:08:38 +00:00
|
|
|
let obj = expandEventPropertiesDefault;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { update_type: constants.ACCOUNT, go_live_notifications };
|
|
|
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
|
|
|
};
|