decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 14807
// Function ID: 14808
2026-07-20 16:05:17 +00:00
// Name: onFriendAnniversaryNotificationSettingsChanged
2026-08-15 05:55:55 +00:00
// Dependencies: [676, 4033, 4066, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onFriendAnniversaryNotificationSettingsChanged
2026-08-15 05:55:55 +00:00
// Module 14807 (onFriendAnniversaryNotificationSettingsChanged)
2026-07-23 10:11:24 +00:00
import { AnalyticEvents } from "ME";
import { NotificationSettingsUpdateType as closure_4 } from "AccountNotificationFlags";
const result = require("explicitContentFromProto").fileFinishedImporting("modules/premium/FriendAnniversaryNotificationUtils.tsx");
2026-07-20 16:05:17 +00:00
export const onFriendAnniversaryNotificationSettingsChanged = function onFriendAnniversaryNotificationSettingsChanged(friend_anniversary_notifications) {
2026-08-15 05:55:55 +00:00
const EnableFriendAnniversaryNotifications = require(4066) /* explicitContentFromProto */.EnableFriendAnniversaryNotifications;
2026-07-20 16:05:17 +00:00
EnableFriendAnniversaryNotifications.updateSetting(friend_anniversary_notifications);
2026-07-29 08:29:29 +00:00
let obj = importDefault(698);
2026-07-20 16:05:17 +00:00
obj = { update_type: constants.ACCOUNT, friend_anniversary_notifications };
obj.track(AnalyticEvents.NOTIFICATION_SETTINGS_UPDATED, obj);
};