decord/source/modules/premium/FriendAnniversaryNotificationUtils.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

24 lines
1.3 KiB
TypeScript

// Module ID: 15423
// Function ID: 15424
// Name: onFriendAnniversaryNotificationSettingsChanged
// Dependencies: [673, 4133, 4166, 695, 2]
// Exports: onFriendAnniversaryNotificationSettingsChanged
// Module 15423 (onFriendAnniversaryNotificationSettingsChanged)
import set from "set" /* 2 */;
import ME from "ME" /* 673 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 695 */;
import AccountNotificationFlags from "AccountNotificationFlags" /* 4133 */;
import explicitContentFromProto from "explicitContentFromProto" /* 4166 */;
const AnalyticEvents = ME.AnalyticEvents;
let closure_4 = AccountNotificationFlags.NotificationSettingsUpdateType;
const result = set.fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx");
export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) {
const EnableFriendAnniversaryNotifications = explicitContentFromProto.EnableFriendAnniversaryNotifications;
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
let obj = expandEventPropertiesDefault;
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};