decord/source/modules/premium/FriendAnniversaryNotificationUtils.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 14683
// Function ID: 14684
2026-07-20 16:05:17 +00:00
// Name: onFriendAnniversaryNotificationSettingsChanged
2026-08-07 06:50:47 +00:00
// Dependencies: [676, 3941, 3974, 698, 2]
2026-07-20 16:05:17 +00:00
// Exports: onFriendAnniversaryNotificationSettingsChanged
2026-08-08 06:10:11 +00:00
// Module 14683 (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-07 06:50:47 +00:00
const EnableFriendAnniversaryNotifications = require(3974) /* 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);
};