2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 14912
|
|
|
|
|
// Function ID: 14913
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: onServerTrendingNotificationSettingsChanged
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4037, 676, 4070, 698, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: onServerTrendingNotificationSettingsChanged
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 14912 (onServerTrendingNotificationSettingsChanged)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import ME from "ME" /* 676 */;
|
|
|
|
|
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import AccountNotificationFlags from "AccountNotificationFlags" /* 4037 */;
|
|
|
|
|
import explicitContentFromProto from "explicitContentFromProto" /* 4070 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
let closure_3 = AccountNotificationFlags.NotificationSettingsUpdateType;
|
|
|
|
|
const AnalyticEvents = ME.AnalyticEvents;
|
|
|
|
|
const result = set.fileFinishedImporting("modules/notifications/server_trending/ServerTrendingNotificationUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const onServerTrendingNotificationSettingsChanged = function onServerTrendingNotificationSettingsChanged(server_trending_notifications) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const EnableServerTrendingNotifications = explicitContentFromProto.EnableServerTrendingNotifications;
|
2026-07-20 16:05:17 +00:00
|
|
|
EnableServerTrendingNotifications.updateSetting(server_trending_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, server_trending_notifications };
|
|
|
|
|
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
|
|
|
|
|
};
|